diff options
| author | Douglas Gregor <dgregor@apple.com> | 2008-11-12 23:21:09 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2008-11-12 23:21:09 +0000 |
| commit | b6acda0f3606fec82a782b8c0e316335696e4b4e (patch) | |
| tree | 83587ca83a45dc07a5582a476d2f56496fda08dd /clang/lib/CodeGen/CodeGenFunction.h | |
| parent | c208f4617c2e1391bf2593492d3c17032fc16366 (diff) | |
| download | bcm5719-llvm-b6acda0f3606fec82a782b8c0e316335696e4b4e.tar.gz bcm5719-llvm-b6acda0f3606fec82a782b8c0e316335696e4b4e.zip | |
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
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions

