summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/include/clang/Lex/Preprocessor.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/include/clang/Lex/Preprocessor.h b/clang/include/clang/Lex/Preprocessor.h
index 134a0e95cf4..c8c1da6b6ef 100644
--- a/clang/include/clang/Lex/Preprocessor.h
+++ b/clang/include/clang/Lex/Preprocessor.h
@@ -152,7 +152,7 @@ public:
IdentifierTable &getIdentifierTable() { return Identifiers; }
SelectorTable &getSelectorTable() { return Selectors; }
- inline FullSourceLoc getFullLoc(SourceLocation Loc) {
+ inline FullSourceLoc getFullLoc(SourceLocation Loc) const {
return FullSourceLoc(Loc,getSourceManager());
}
OpenPOWER on IntegriCloud