summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Scalar/JumpThreading.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2014-10-20 00:15:49 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2014-10-20 00:15:49 +0000
commit25d50758f3078f56677f50b8f789dff76c90ed4c (patch)
tree83f4c9111a856ddfe96a2de2d1c2418d8946f1a8 /llvm/lib/Transforms/Scalar/JumpThreading.cpp
parentb5f4c32830f851c9211762b528dccdacfda5fd7a (diff)
downloadbcm5719-llvm-25d50758f3078f56677f50b8f789dff76c90ed4c.tar.gz
bcm5719-llvm-25d50758f3078f56677f50b8f789dff76c90ed4c.zip
[modules] Add support for #include_next.
#include_next interacts poorly with modules: it depends on where in the list of include paths the current file was found. Files covered by module maps are not found in include search paths when building the module (and are not found in include search paths when @importing the module either), so this isn't really meaningful. Instead, we fake up the result that #include_next *should* have given: find the first path that would have resulted in the given file being picked, and search from there onwards. llvm-svn: 220177
Diffstat (limited to 'llvm/lib/Transforms/Scalar/JumpThreading.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud