diff options
| author | Daniel Jasper <djasper@google.com> | 2013-12-03 20:30:36 +0000 |
|---|---|---|
| committer | Daniel Jasper <djasper@google.com> | 2013-12-03 20:30:36 +0000 |
| commit | 8f6855659531c980a0bb804e37494b5fd9388987 (patch) | |
| tree | 8b371d97b9c36e2289364e158915644cf71da256 /lib/CodeGen/CGExprAgg.cpp | |
| parent | ea654c32d9d69ff1ece6211fc5cf92f1e0a9e3e2 (diff) | |
| download | clang-8f6855659531c980a0bb804e37494b5fd9388987.tar.gz clang-8f6855659531c980a0bb804e37494b5fd9388987.tar.bz2 clang-8f6855659531c980a0bb804e37494b5fd9388987.tar.xz | |
Fix corner case in module-based layering warning.
Before, there SourceManager would not return a FileEntry for a
SourceLocation of a macro expansion (if the header name itself is
defined in a macro). We'd then fallback to assume that the module
currently being built is the including module. However, in this case we
are actually interested in the spelling location of the filename loc in
order to derive the including module.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@196311 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExprAgg.cpp')
0 files changed, 0 insertions, 0 deletions
