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 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | c208f4617c2e1391bf2593492d3c17032fc16366 (diff) | |
download | llvm-b6acda0f3606fec82a782b8c0e316335696e4b4e.zip llvm-b6acda0f3606fec82a782b8c0e316335696e4b4e.tar.gz llvm-b6acda0f3606fec82a782b8c0e316335696e4b4e.tar.bz2 |
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 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions