summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/macro_arg_slocentry_merge.c
Commit message (Collapse)AuthorAgeFilesLines
* Stop printing macro backtraces that don't help diagnostics.Richard Trieu2015-08-121-2/+0
| | | | | | | | | | | | | | | When displaying the macro backtrace, ignore some of the backtraces that do not provide extra information to the diagnostic. Typically, if the problem is entirely contained within a macro argument, the macro expansion is often not needed. Also take into account SourceRange's attached to the diagnostic when selecting which backtraces to ignore. Two previous test cases have also been updated. Patch by Zhengkai Wu, with minor formatting fixes. Differential Revision: http://reviews.llvm.org/D11778 llvm-svn: 244788
* [preprocessor] When "merging" macro argument tokens into one SLocEntry chunk,Argyrios Kyrtzidis2012-12-191-0/+7
make sure they came from the same kind of FileIDs. Thanks to Abramo Bagnara for providing the test case. llvm-svn: 170616
OpenPOWER on IntegriCloud