summaryrefslogtreecommitdiffstats
path: root/clang-tidy/readability/MisleadingIndentationCheck.h
Commit message (Collapse)AuthorAgeFilesLines
* [clang-tidy] Switch checks to #include "ClangTidyCheck.h"Alexander Kornienko2019-03-251-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@356892 91177308-0d34-0410-b5e6-96231b3b80d8
* Update the file headers across all of the LLVM projects in the monorepoChandler Carruth2019-01-191-4/+3
| | | | | | | | | | | | | | | | | to reflect the new license. We understand that people may be surprised that we're moving the header entirely to discuss the new license. We checked this carefully with the Foundation's lawyer and we believe this is the correct approach. Essentially, all code in the project is now made available by the LLVM project under our new license, so you will see that the license headers include that license only. Some of our contributors have contributed code under our old license, and accordingly, we have retained a copy of our old license notice in the top-level files in each project and repository. git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@351636 91177308-0d34-0410-b5e6-96231b3b80d8
* [clang-tidy] readability-misleading-indentation: fix chained ifAlexander Kornienko2017-03-171-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Summary: Fixed erroneously flagging of chained if statements when styled like this: ``` if (cond) { } else if (cond) { } else { } ``` Reviewers: xazax.hun, alexfh Reviewed By: xazax.hun, alexfh Subscribers: JDevlieghere, cfe-commits Patch by Florian Gross! Differential Revision: https://reviews.llvm.org/D30841 git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@298059 91177308-0d34-0410-b5e6-96231b3b80d8
* [clang-tidy] Add readability-misleading-indentation check.Gabor Horvath2017-02-141-0/+41
Differential Revision: https://reviews.llvm.org/D19586 git-svn-id: https://llvm.org/svn/llvm-project/clang-tools-extra/trunk@295041 91177308-0d34-0410-b5e6-96231b3b80d8