summaryrefslogtreecommitdiffstats
path: root/clang/test/Preprocessor/pp-record.h
Commit message (Collapse)AuthorAgeFilesLines
* [preprocessor] Handle correctly inclusion directives that have macro ↵Argyrios Kyrtzidis2012-03-271-0/+2
| | | | | | | | | | | | | | | | | | expansions, e.g "#include MACRO(STUFF)". -As an inclusion position for the included file, use the file location of the file where it was included but *after* the macro expansions. We want the macro expansions to be considered as before-in-translation-unit for everything in the included file. -In the preprocessing record take into account that only inclusion directives can be encountered as "out-of-order" (by comparing the start of the range which for inclusions is the hash location) and use binary search if there is an extreme number of macro expansions in the include directive. Fixes rdar://11111779 llvm-svn: 153527
* Handle the case where preprocessor entities are not received in order,Argyrios Kyrtzidis2011-10-121-0/+1
fixes http://llvm.org/PR11120 llvm-svn: 141788
OpenPOWER on IntegriCloud