aboutsummaryrefslogtreecommitdiff
path: root/lib/Frontend/ASTUnit.cpp
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-12-01 16:58:18 +0000
committerDouglas Gregor <dgregor@apple.com>2009-12-01 16:58:18 +0000
commit9af2f52fbcb993350f54e57d498e7849ba29c75d (patch)
tree558e677a3dc78b60131dd5724675d7bffa65705d /lib/Frontend/ASTUnit.cpp
parentd3a505827fd8775ce479498e5726b484336eedd8 (diff)
Don't automatically assume that an id-expression refers to a
ValueDecl, because that isn't always the case in ill-formed code. Diagnose a common mistake (forgetting to provide a template argument list for a class template, PR5655) and dyn_cast so that we handle the general problem of referring to a non-value declaration gracefully. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@90239 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Frontend/ASTUnit.cpp')
0 files changed, 0 insertions, 0 deletions