[cfe-commits] r38745 - /cfe/cfe/trunk/include/clang/Lex/Preprocessor.h
sabre at cs.uiuc.edu
sabre at cs.uiuc.edu
Wed Jul 11 09:24:17 PDT 2007
Author: sabre
Date: Wed Jul 11 11:24:16 2007
New Revision: 38745
URL: http://llvm.org/viewvc/llvm-project?rev=38745&view=rev
Log:
With recent simplifications, this check can be removed from a fastpath.
Modified:
cfe/cfe/trunk/include/clang/Lex/Preprocessor.h
Modified: cfe/cfe/trunk/include/clang/Lex/Preprocessor.h
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/include/clang/Lex/Preprocessor.h?rev=38745&r1=38744&r2=38745&view=diff
==============================================================================
--- cfe/cfe/trunk/include/clang/Lex/Preprocessor.h (original)
+++ cfe/cfe/trunk/include/clang/Lex/Preprocessor.h Wed Jul 11 11:24:16 2007
@@ -265,8 +265,6 @@
/// std::string).
IdentifierInfo *getIdentifierInfo(const char *NameStart,
const char *NameEnd) {
- // If we are in a "#if 0" block, don't bother lookup up identifiers.
- if (isSkipping()) return 0;
return &Identifiers.get(NameStart, NameEnd);
}
IdentifierInfo *getIdentifierInfo(const char *NameStr) {
More information about the cfe-commits
mailing list