diff options
author | Chris Lattner <sabre@nondot.org> | 2008-11-20 05:51:55 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-11-20 05:51:55 +0000 |
commit | 572af49cc0052931e7b06902d99c72f04b75704e (patch) | |
tree | df6a0747e09dfce4539e3241add1c1653d3db821 /lib/Sema/Sema.h | |
parent | 8edea83d4d45d912191eac97b861309af6c74acd (diff) |
remove the type_info identifier cache. Compared to the cost
of doing the lookup_decl, the hash lookup is cheap. Also,
typeid doesn't happen enough in real world code to worry about
it.
I'd like to eventually get rid of KnownFunctionIDs from Sema
also, but today is not that day.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59711 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema/Sema.h')
-rw-r--r-- | lib/Sema/Sema.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Sema/Sema.h b/lib/Sema/Sema.h index 7840dec5e7..52610ef6b7 100644 --- a/lib/Sema/Sema.h +++ b/lib/Sema/Sema.h @@ -192,9 +192,6 @@ public: /// This list is populated upon the creation of a Sema object. IdentifierInfo* KnownFunctionIDs[id_num_known_functions]; - /// Identifiers used by the C++ language - IdentifierInfo *Ident_TypeInfo; // "type_info" - lazily created - /// Translation Unit Scope - useful to Objective-C actions that need /// to lookup file scope declarations in the "ordinary" C decl namespace. /// For example, user-defined classes, built-in "id" type, etc. |