diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-12-01 16:58:18 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-12-01 16:58:18 +0000 |
commit | e7488b904ca95dc3f41bfed979c77cfe00f037ae (patch) | |
tree | e4ec47c5ccc5d24939b0e7fa7a8d7cfaa41796e8 /llvm/lib/CodeGen/LiveVariables.cpp | |
parent | f107aa63eeae5385ad4fd22074b7f011cac7eb1c (diff) | |
download | llvm-e7488b904ca95dc3f41bfed979c77cfe00f037ae.zip llvm-e7488b904ca95dc3f41bfed979c77cfe00f037ae.tar.gz llvm-e7488b904ca95dc3f41bfed979c77cfe00f037ae.tar.bz2 |
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.
llvm-svn: 90239
Diffstat (limited to 'llvm/lib/CodeGen/LiveVariables.cpp')
0 files changed, 0 insertions, 0 deletions