diff options
author | Douglas Gregor <dgregor@apple.com> | 2008-11-18 15:03:34 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2008-11-18 15:03:34 +0000 |
commit | 10c4262aeb5212375e3fa64e76887bd9bcc79924 (patch) | |
tree | ec0f8048581575e9882e5866b9ebce78b40ed4e9 /lib/CodeGen/CodeGenModule.cpp | |
parent | e94ca9e4371c022329270436b3dd77adc4ddfa8f (diff) |
As threatened previously: consolidate name lookup and the creation of
DeclRefExprs and BlockDeclRefExprs into a single function
Sema::ActOnDeclarationNameExpr, eliminating a bunch of duplicate
lookup-name-and-check-the-result code.
Note that we still have the three parser entry points for identifiers,
operator-function-ids, and conversion-function-ids, since the parser
doesn't (and shouldn't) know about DeclarationNames. This is a Good
Thing (TM), and there will be more entrypoints coming (e.g., for C++
pseudo-destructor expressions).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59527 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions