rename getInstantiationLoc to match the scheme of isPhysicalLoc.
llvm-svn: 43969
diff --git a/clang/Basic/SourceManager.cpp b/clang/Basic/SourceManager.cpp
index 74e88c1..03fa203 100644
--- a/clang/Basic/SourceManager.cpp
+++ b/clang/Basic/SourceManager.cpp
@@ -185,7 +185,7 @@
// The instanitation point and source physloc have to exactly match to reuse
// (for now). We could allow "nearby" instantiations in the future.
- if (LastOne.getInstantiationLoc() != InstantLoc ||
+ if (LastOne.getVirtualLoc() != InstantLoc ||
LastOne.getPhysicalLoc().getFileID() != PhysLoc.getFileID())
continue;