change source location to have two bits for macros, tracking
whether the location is the start and/or end of an expansion.
These are currently not set or used by anything.
llvm-svn: 43968
diff --git a/clang/Basic/SourceManager.cpp b/clang/Basic/SourceManager.cpp
index 0482d4c..74e88c1 100644
--- a/clang/Basic/SourceManager.cpp
+++ b/clang/Basic/SourceManager.cpp
@@ -193,12 +193,12 @@
int PhysDelta = PhysLoc.getRawFilePos() -
LastOne.getPhysicalLoc().getRawFilePos();
if (SourceLocation::isValidMacroPhysOffs(PhysDelta))
- return SourceLocation::getMacroLoc(i, PhysDelta, 0);
+ return SourceLocation::getMacroLoc(i, PhysDelta, false, false);
}
MacroIDs.push_back(MacroIDInfo::get(InstantLoc, PhysLoc));
- return SourceLocation::getMacroLoc(MacroIDs.size()-1, 0, 0);
+ return SourceLocation::getMacroLoc(MacroIDs.size()-1, 0, false, false);
}
/// getBufferData - Return a pointer to the start and end of the character