diff options
author | Douglas Gregor <dgregor@apple.com> | 2008-11-17 22:58:34 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2008-11-17 22:58:34 +0000 |
commit | 10bd36882406cdf4805e35add1ce2f11ab9ae152 (patch) | |
tree | dadf16647fecd2e461b2b18ae40f77dac201905b /include/clang/Basic/IdentifierTable.h | |
parent | 34265e7133ad82148aa9b3ac097ed66728f4ff85 (diff) |
Eliminate all of the placeholder identifiers used for constructors,
destructors, and conversion functions. The placeholders were used to
work around the fact that the parser and some of Sema really wanted
declarators to have simple identifiers; now, the code that deals with
declarators will use DeclarationNames.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59469 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Basic/IdentifierTable.h')
-rw-r--r-- | include/clang/Basic/IdentifierTable.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/include/clang/Basic/IdentifierTable.h b/include/clang/Basic/IdentifierTable.h index a13d4ba538..58ad133e3b 100644 --- a/include/clang/Basic/IdentifierTable.h +++ b/include/clang/Basic/IdentifierTable.h @@ -179,16 +179,6 @@ class IdentifierTable { /// overloadable operators in C++. IdentifierInfo *OverloadedOperators[NUM_OVERLOADED_OPERATORS]; - /// ConstructorId - Placeholder identifier for C++ constructors. - IdentifierInfo *ConstructorId; - - /// DestructorId - Placeholder identifier for C++ destructor. - IdentifierInfo *DestructorId; - - /// ConversionFunctionId - Placeholder identifier for a C++ - /// conversion function. - IdentifierInfo *ConversionFunctionId; - public: /// IdentifierTable ctor - Create the identifier table, populating it with /// info about the language keywords for the language specified by LangOpts. @@ -214,18 +204,6 @@ public: return *OverloadedOperators[Op]; } - /// getConstructorId - Return a placeholder identifier for a C++ - /// constructor. - IdentifierInfo &getConstructorId(); - - /// getDestructorId - Return a placeholder identifier for a C++ - /// destructor. - IdentifierInfo &getDestructorId(); - - /// getConversionFunctionId - Return a placeholder identifier for a - /// C++ conversion function. - IdentifierInfo &getConversionFunctionId(); - typedef HashTableTy::const_iterator iterator; typedef HashTableTy::const_iterator const_iterator; |