summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2015-04-23 20:38:48 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2015-04-23 20:38:48 +0000
commit76e66607a3d588fe0174b193a417aed75f59c83b (patch)
treefe155d94df5a294b6d62bd7e36c0b3d00a1a81d2
parent8b0182af2fe4ce877824cb16c857248c1de13e58 (diff)
downloadbcm5719-llvm-76e66607a3d588fe0174b193a417aed75f59c83b.tar.gz
bcm5719-llvm-76e66607a3d588fe0174b193a417aed75f59c83b.zip
Fix clang-tools-extra build after clang r235614.
llvm-svn: 235642
-rw-r--r--clang-tools-extra/modularize/Modularize.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang-tools-extra/modularize/Modularize.cpp b/clang-tools-extra/modularize/Modularize.cpp
index 61234e0e5cf..b88476e79b0 100644
--- a/clang-tools-extra/modularize/Modularize.cpp
+++ b/clang-tools-extra/modularize/Modularize.cpp
@@ -644,7 +644,7 @@ public:
for (Preprocessor::macro_iterator M = PP.macro_begin(),
MEnd = PP.macro_end();
M != MEnd; ++M) {
- Location Loc(SM, M->second->getLocation());
+ Location Loc(SM, M->second.getLatest()->getLocation());
if (!Loc)
continue;
OpenPOWER on IntegriCloud