aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Lex/ModuleMap.cpp
diff options
context:
space:
mode:
authorAlexander Kornienko <alexfh@google.com>2017-01-12 15:31:50 +0000
committerAlexander Kornienko <alexfh@google.com>2017-01-12 15:31:50 +0000
commite3d91a5c4b98b52120e48c45a6e0d5d9d6e78c96 (patch)
tree94fb10acd681355e296cd17e92da815ba9cbbf0b /clang/lib/Lex/ModuleMap.cpp
parentb45c0d4ff00d823dfde661793063961cdbbc1771 (diff)
downloadllvm-e3d91a5c4b98b52120e48c45a6e0d5d9d6e78c96.zip
llvm-e3d91a5c4b98b52120e48c45a6e0d5d9d6e78c96.tar.gz
llvm-e3d91a5c4b98b52120e48c45a6e0d5d9d6e78c96.tar.bz2
Correctly classify main file includes if there is a prefix added
Summary: Prevents misclassifying includes based on the command-line filename (e.g. if a project is in a subdirectory). This is slightly more robust than the additional duplicate detection, however the current classification scheme is still kind of brittle for a lot of code. Reviewers: hokein, alexfh Subscribers: cfe-commits, #clang-tools-extra Patch by Julian Bangert! Differential Revision: https://reviews.llvm.org/D26015 llvm-svn: 291767
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions