aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp
diff options
context:
space:
mode:
authorManuel Klimek <klimek@google.com>2014-08-13 12:34:41 +0000
committerManuel Klimek <klimek@google.com>2014-08-13 12:34:41 +0000
commitc0ff99089aca5169abd74fdf2cd66f23e61f83d5 (patch)
treec45285ca3493e8e64add786dbae98f1266584f56 /clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp
parent2fe75b3a735ebe546e8ca6fa6163461fa86ce006 (diff)
downloadllvm-c0ff99089aca5169abd74fdf2cd66f23e61f83d5.zip
llvm-c0ff99089aca5169abd74fdf2cd66f23e61f83d5.tar.gz
llvm-c0ff99089aca5169abd74fdf2cd66f23e61f83d5.tar.bz2
Default getFile() to use the last accessed name in the FileEntry.
With modules we start accessing headers for the first time while reading the module map, which often has very different paths from the include scanning logic. Using the name by which the file was accessed gets us one step closer to the right solution, which is using a FileName abstraction that decouples the name by which a file was accessed from the FileEntry. llvm-svn: 215541
Diffstat (limited to 'clang-tools-extra/unittests/clang-tidy/LLVMModuleTest.cpp')
0 files changed, 0 insertions, 0 deletions