From e0579f08d4a4ae57971b74ca1863106df4c6399f Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Wed, 12 Dec 2007 18:55:29 +0000 Subject: [PATCH] constified getFullLoc(). git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@44951 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Lex/Preprocessor.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/clang/Lex/Preprocessor.h b/include/clang/Lex/Preprocessor.h index 134a0e95cf..c8c1da6b6e 100644 --- a/include/clang/Lex/Preprocessor.h +++ b/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()); } -- 2.50.1