[cfe-commits] r167692 - /cfe/trunk/include/clang/Lex/Preprocessor.h
Nico Weber
nicolasweber at gmx.de
Sun Nov 11 13:02:04 PST 2012
Author: nico
Date: Sun Nov 11 15:02:03 2012
New Revision: 167692
URL: http://llvm.org/viewvc/llvm-project?rev=167692&view=rev
Log:
Delete comment reference to non-existent method
Modified:
cfe/trunk/include/clang/Lex/Preprocessor.h
Modified: cfe/trunk/include/clang/Lex/Preprocessor.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/Preprocessor.h?rev=167692&r1=167691&r2=167692&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/Preprocessor.h (original)
+++ cfe/trunk/include/clang/Lex/Preprocessor.h Sun Nov 11 15:02:03 2012
@@ -555,11 +555,8 @@
void setPredefines(const char *P) { Predefines = P; }
void setPredefines(const std::string &P) { Predefines = P; }
- /// getIdentifierInfo - Return information about the specified preprocessor
- /// identifier token. The version of this method that takes two character
- /// pointers is preferred unless the identifier is already available as a
- /// string (this avoids allocation and copying of memory to construct an
- /// std::string).
+ /// Return information about the specified preprocessor
+ /// identifier token.
IdentifierInfo *getIdentifierInfo(StringRef Name) const {
return &Identifiers.get(Name);
}
More information about the cfe-commits
mailing list