From 22549fe6a54285aa6e834118683290573ded43b6 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 20 Jul 2006 04:20:02 +0000 Subject: [PATCH] With recent simplifications, this check can be removed from a fastpath. llvm-svn: 38745 --- clang/include/clang/Lex/Preprocessor.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/clang/include/clang/Lex/Preprocessor.h b/clang/include/clang/Lex/Preprocessor.h index b0a893a3f466..d0217f59b226 100644 --- a/clang/include/clang/Lex/Preprocessor.h +++ b/clang/include/clang/Lex/Preprocessor.h @@ -265,8 +265,6 @@ public: /// 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) { -- GitLab