Fix clang-tools-extra build after clang r235614.

llvm-svn: 235642
This commit is contained in:
Richard Smith 2015-04-23 20:38:48 +00:00
parent 8b0182af2f
commit 76e66607a3

View File

@ -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;