This website requires JavaScript.
Explore
Help
Sign In
maxjhandsome
/
llvm-project
forked from
OSchip/llvm-project
Watch
1
Star
0
Fork
You've already forked llvm-project
0
Code
Issues
Pull Requests
Packages
Releases
Wiki
Activity
ae5b53e7cd
llvm-project
/
clang
/
test
/
Preprocessor
/
pp-record.h
4 lines
65 B
C
Raw
Normal View
History
Unescape
Escape
Handle the case where preprocessor entities are not received in order, fixes http://llvm.org/PR11120 llvm-svn: 141788
2011-10-13 01:36:33 +08:00
// Only useful for #inclusion.
[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-28 02:47:48 +08:00
#
define CAKE extern int is_a_lie