llvm-project/clang/lib/Basic
Douglas Gregor b6acda0f36 Don't build identifiers for C++ constructors, destructors, or
conversion functions. Instead, we just use a placeholder identifier
for these (e.g., "<constructor>") and override NamedDecl::getName() to
provide a human-readable name.

This is one potential solution to the problem; another solution would
be to replace the use of IdentifierInfo* in NamedDecl with a different
class that deals with identifiers better. I'm also prototyping that to
see how it compares, but this commit is better than what we had
previously.

llvm-svn: 59193
2008-11-12 23:21:09 +00:00
..
CMakeLists.txt CMake: Builds and installs clang binary and libs (no docs yet). It 2008-10-26 00:56:18 +00:00
Diagnostic.cpp fix rdar://6288301: custom warnings don't respect -Werror. 2008-10-17 21:24:47 +00:00
FileManager.cpp Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00
IdentifierTable.cpp Don't build identifiers for C++ constructors, destructors, or 2008-11-12 23:21:09 +00:00
LangOptions.cpp Add -fobjc-gc and -fobjc-gc-only options to the driver. 2008-04-29 04:37:03 +00:00
Makefile Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00
SourceLocation.cpp Make some methods const, add some helpers to FullSourceLoc, 2008-09-29 21:46:13 +00:00
SourceManager.cpp Rename Characteristic_t to CharacteristicKind 2008-10-27 01:19:25 +00:00
TargetInfo.cpp More fallout from r58501: primary fix is some more corrections to make 2008-11-02 02:43:55 +00:00
Targets.cpp More fallout from r58501: primary fix is some more corrections to make 2008-11-02 02:43:55 +00:00
TokenKinds.cpp Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00