Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Reland "[tools] Updating PPCallbacks::InclusionDirective calls" | Julie Hockett | 2018-05-10 | 1 | -2/+3 |
| | | | | | | | | | This commit relands r331905. r331904 added SrcMgr::CharacteristicKind to the InclusionDirective callback, this revision updates instances of it in clang-tools-extra. llvm-svn: 332023 | ||||
* | Revert "[tools] Updating PPCallbacks::InclusionDirective calls" | Julie Hockett | 2018-05-09 | 1 | -3/+2 |
| | | | | | | This reverts commit r331905, since it's dependent on reverted r331905. llvm-svn: 331931 | ||||
* | [tools] Updating PPCallbacks::InclusionDirective calls | Julie Hockett | 2018-05-09 | 1 | -2/+3 |
| | | | | | | | | | [revision] added SrcMgr::CharacteristicKind to the InclusionDirective callback, this revision updates instances of it in clang-tools-extra. Differential Revision: https://reviews.llvm.org/D46615 llvm-svn: 331905 | ||||
* | [NFC] Sync function call with changes to interface made in r314593. | Faisal Vali | 2017-09-30 | 1 | -1/+1 |
| | | | | llvm-svn: 314595 | ||||
* | [NFC] Update function call names as changed in MacroInfo that should refer ↵ | Faisal Vali | 2017-07-17 | 1 | -1/+1 |
| | | | | | | | | | | to Parameters (as opposed to Arguments). This syncs them up with clang commit r308190 Thanks! llvm-svn: 308191 | ||||
* | modernize-use-auto NFC fixes | Piotr Padlewski | 2016-12-14 | 1 | -43/+27 |
| | | | | llvm-svn: 289656 | ||||
* | Fix build problem by lower SmallSet<N> to a reasonable value | Matthias Braun | 2016-02-01 | 1 | -1/+1 |
| | | | | llvm-svn: 259424 | ||||
* | Revert "Apply modernize-use-default to clang-tools-extra." | David Blaikie | 2015-10-20 | 1 | -3/+3 |
| | | | | | | | | | Breaks the build in GCC 4.7.2 (see http://lab.llvm.org:8011/builders/perf-x86_64-penryn-O3 for example) This reverts commit r250824. llvm-svn: 250862 | ||||
* | Apply modernize-use-default to clang-tools-extra. | Angel Garcia Gomez | 2015-10-20 | 1 | -3/+3 |
| | | | | | | | | | | | | Summary: Replace empty bodies of default constructors and destructors with '= default'. Reviewers: klimek Subscribers: alexfh, cfe-commits Differential Revision: http://reviews.llvm.org/D13889 llvm-svn: 250824 | ||||
* | Refactor MacroInfo so range for loops can be used to iterate its tokens. | Daniel Marjamaki | 2015-05-11 | 1 | -4/+3 |
| | | | | | | Differential Revision: http://reviews.llvm.org/D9079 llvm-svn: 236976 | ||||
* | Fixed infinite recursion bug. | John Thompson | 2015-05-06 | 1 | -1/+1 |
| | | | | llvm-svn: 236624 | ||||
* | Update to match clang r236404. | Richard Smith | 2015-05-04 | 1 | -10/+10 |
| | | | | llvm-svn: 236405 | ||||
* | Use 'override/final' instead of 'virtual' for overridden methods | Alexander Kornienko | 2015-04-11 | 1 | -16/+19 |
| | | | | | | | | | | | | | | | | | | | | | | Summary: The patch is generated using clang-tidy misc-use-override check. This command was used: tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \ -checks='-*,misc-use-override' -header-filter='llvm|clang' -j=32 -fix svn diff | clang-format-diff -i Reviewers: dblaikie Reviewed By: dblaikie Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D8927 llvm-svn: 234681 | ||||
* | Make helpers static. clang-tools edition. | Benjamin Kramer | 2015-03-23 | 1 | -86/+19 |
| | | | | | | Also purge dead code found by it. NFC. llvm-svn: 232948 | ||||
* | Fixed canonical path function. | John Thompson | 2015-02-26 | 1 | -1/+2 |
| | | | | llvm-svn: 230665 | ||||
* | Temporary hack to avoid false errors. Real fix comming. | John Thompson | 2015-02-18 | 1 | -0/+3 |
| | | | | llvm-svn: 229690 | ||||
* | Fix broken logic for include in block check. | John Thompson | 2015-02-13 | 1 | -1/+1 |
| | | | | llvm-svn: 229187 | ||||
* | Fixed incorrect header inclusion tracking resulting in false error reports. | John Thompson | 2015-02-12 | 1 | -1/+4 |
| | | | | llvm-svn: 228929 | ||||
* | Added -block-check-header-list-only option. This is a work-around for ↵ | John Thompson | 2015-02-11 | 1 | -5/+37 |
| | | | | | | private includes that purposefully get included inside blocks. llvm-svn: 228846 | ||||
* | Centralize canonical path conversion. | John Thompson | 2015-02-11 | 1 | -4/+9 |
| | | | | llvm-svn: 228845 | ||||
* | Update for LLVM API change to make Small(Ptr)Set::insert return ↵ | David Blaikie | 2014-11-19 | 1 | -1/+1 |
| | | | | | | pair<iterator, bool> as per the C++ standard's associative container concept. llvm-svn: 222336 | ||||
* | Unique_ptrify PPCallbacks ownership. Goes with clang r217474. | Craig Topper | 2014-09-10 | 1 | -1/+2 |
| | | | | llvm-svn: 217475 | ||||
* | Unbreak the build after r211244. | David Blaikie | 2014-06-19 | 1 | -13/+0 |
| | | | | | | | | | These operator overloads were unneeded (once the const correctness in PooledStringPtr was corrected) and inefficient (since the strings are pooled the pointers can just be compared for equality instead of doing strcmp). llvm-svn: 211245 | ||||
* | [C++11] Use 'nullptr'. | Craig Topper | 2014-06-09 | 1 | -19/+19 |
| | | | | llvm-svn: 210447 | ||||
* | Run llvm/utils/sort_includes.py over the Clang tools code. This doesn't | Chandler Carruth | 2014-01-07 | 1 | -3/+3 |
| | | | | | | | | | | always produce as pretty of results as it does in LLVM and Clang, but I don't mind and the value of having a single canonical ordering is very high IMO. Let me know if you spot really serious problems here. llvm-svn: 198703 | ||||
* | Changed ConditionValue argument to PPCallbacks If and Elif callbacks to be a ↵ | John Thompson | 2013-12-07 | 1 | -13/+22 |
| | | | | | | 3-state enum. llvm-svn: 196648 | ||||
* | Added colon to make proper error message prefix. | John Thompson | 2013-09-20 | 1 | -2/+2 |
| | | | | llvm-svn: 191092 | ||||
* | Check for #include in extern and namespace blocks. | John Thompson | 2013-09-18 | 1 | -3/+149 |
| | | | | llvm-svn: 190950 | ||||
* | Ran clang-format for a base-line. | John Thompson | 2013-09-03 | 1 | -11/+8 |
| | | | | llvm-svn: 189836 | ||||
* | Avoid errors on header guards using #if defined(NAME). | John Thompson | 2013-08-13 | 1 | -0/+2 |
| | | | | llvm-svn: 188306 | ||||
* | Fix false error message for function-style macro instance used as arguments ↵ | John Thompson | 2013-08-09 | 1 | -0/+9 |
| | | | | | | in other function-style macros instances, and add test for it. llvm-svn: 188036 | ||||
* | Fixed incorrect header guard/nested header mechanism. | John Thompson | 2013-08-07 | 1 | -5/+7 |
| | | | | llvm-svn: 187898 | ||||
* | Fixed uninitialized member, plus recommit of 187736. | John Thompson | 2013-08-05 | 1 | -12/+27 |
| | | | | llvm-svn: 187757 | ||||
* | Reverting r187736. It broke some public bots: | Arnold Schwaighofer | 2013-08-05 | 1 | -25/+11 |
| | | | | | | | http://lab.llvm.org:8011/builders/clang-native-arm-cortex-a9/builds/10248 http://bb.pgr.jp/builders/cmake-clang-i686-mingw32/builds/3327 llvm-svn: 187746 | ||||
* | Fixed incorrect include file exit detection. Added work-around to avoid ↵ | John Thompson | 2013-08-05 | 1 | -11/+25 |
| | | | | | | error on header guard in nested include. Fixed a couple of coding standard issues on variable names. llvm-svn: 187736 | ||||
* | Fixed comment issues (non-ASCII chars, typos) per review, expanded some ↵ | John Thompson | 2013-07-29 | 1 | -33/+78 |
| | | | | | | comments. llvm-svn: 187370 | ||||
* | modularize: Remove default case from fully covered switch. | Benjamin Kramer | 2013-07-27 | 1 | -4/+1 |
| | | | | llvm-svn: 187306 | ||||
* | Fixed case change that caused the test failure. Incorporarated Sean's ↵ | John Thompson | 2013-07-26 | 1 | -0/+1220 |
| | | | | | | review changes, consisting only of renaming and comment changes. llvm-svn: 187277 | ||||
* | Revert "Added new feature for checking macro and preprocessor conditional ↵ | Rafael Espindola | 2013-07-26 | 1 | -1036/+0 |
| | | | | | | | | | consistency." This reverts commit r187228. It broke some bots: http://bb.pgr.jp/builders/cmake-clang-i686-mingw32 llvm-svn: 187235 | ||||
* | Added new feature for checking macro and preprocessor conditional consistency. | John Thompson | 2013-07-26 | 1 | -0/+1036 |
llvm-svn: 187228 |