llvm-project/clang/unittests
Argyrios Kyrtzidis a956450eb7 [preprocessor] Handle correctly inclusion directives that have macro 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
2012-03-27 18:47:48 +00:00
..
Basic [preprocessor] Handle correctly inclusion directives that have macro expansions, e.g 2012-03-27 18:47:48 +00:00
Frontend Add new code migrator support for migrating existing Objective-C code to use 2012-03-06 20:06:33 +00:00
Lex get rid of an unsued variable warning. 2012-03-06 21:18:56 +00:00
CMakeLists.txt Add unit testing for Lexer. 2012-01-19 15:59:01 +00:00
Makefile Add unit testing for Lexer. 2012-01-19 15:59:01 +00:00