]> granicus.if.org Git - clang/commit
Use the expansion location of the file name when finding the module.
authorManuel Klimek <klimek@google.com>
Wed, 19 Mar 2014 10:22:36 +0000 (10:22 +0000)
committerManuel Klimek <klimek@google.com>
Wed, 19 Mar 2014 10:22:36 +0000 (10:22 +0000)
commitffd5d167a05c459bcb41d5f5090723bedcfd2eca
tree0df09d7015e8ccb95806ff7ee2785aa74124e89d
parentbe1b9f52abb9ad244ccacab1f87e0ec1bed4c53e
Use the expansion location of the file name when finding the module.

The spelling location of stringified strings is not a file location.
Optimally, we'll want to solve the problem (as the FIXME states) by
handing in the right FileEntry of the #include location.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@204220 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Lex/PPDirectives.cpp
test/Modules/Inputs/declare-use/j.h [new file with mode: 0644]
test/Modules/Inputs/declare-use/module.map
test/Modules/declare-use3.cpp [new file with mode: 0644]
test/Modules/declare-use4.cpp [new file with mode: 0644]