summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineCopyPropagation.cpp
diff options
context:
space:
mode:
authorArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-03-27 18:47:48 +0000
committerArgyrios Kyrtzidis <akyrtzi@gmail.com>2012-03-27 18:47:48 +0000
commita956450eb755a26219b4f20ce7fe9c7f0f906640 (patch)
tree2e58d7f37b8a63cf2dfb96b8d057fe140fa9b677 /llvm/lib/CodeGen/MachineCopyPropagation.cpp
parent5ed21c3154fcda3db8d0f44d1cbc72d35391cf21 (diff)
downloadbcm5719-llvm-a956450eb755a26219b4f20ce7fe9c7f0f906640.tar.gz
bcm5719-llvm-a956450eb755a26219b4f20ce7fe9c7f0f906640.zip
[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
Diffstat (limited to 'llvm/lib/CodeGen/MachineCopyPropagation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud