summaryrefslogtreecommitdiffstats
path: root/clang/lib/Checker/Store.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2010-02-03 21:58:41 +0000
committerAnders Carlsson <andersca@mac.com>2010-02-03 21:58:41 +0000
commitb0695ef01191237910425c7b880075f3ed02fcea (patch)
treebb40ba4544ff27d2a52f71c943039d4c34552fe0 /clang/lib/Checker/Store.cpp
parent223084d3ac553a856fea488211048124b45e7df2 (diff)
downloadbcm5719-llvm-b0695ef01191237910425c7b880075f3ed02fcea.tar.gz
bcm5719-llvm-b0695ef01191237910425c7b880075f3ed02fcea.zip
Don't try to fold DeclRefExprs that point to ParmVarDecls. This had the side-effect of always folding the expression to the default argument of the parameter. For example:
void f(int a = 10) { return a; } would always return 10, regardless of the passed in argument. This fixes another 600 test failures. We're now down to only 137 failures! llvm-svn: 95262
Diffstat (limited to 'clang/lib/Checker/Store.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud