[cfe-commits] r50979 - /cfe/trunk/lib/Analysis/GRSimpleVals.cpp
Ted Kremenek
kremenek at apple.com
Mon May 12 10:41:30 PDT 2008
Author: kremenek
Date: Mon May 12 12:41:30 2008
New Revision: 50979
URL: http://llvm.org/viewvc/llvm-project?rev=50979&view=rev
Log:
Support StringLiteralVal when comparing LVal types.
Modified:
cfe/trunk/lib/Analysis/GRSimpleVals.cpp
Modified: cfe/trunk/lib/Analysis/GRSimpleVals.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/GRSimpleVals.cpp?rev=50979&r1=50978&r2=50979&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/GRSimpleVals.cpp (original)
+++ cfe/trunk/lib/Analysis/GRSimpleVals.cpp Mon May 12 12:41:30 2008
@@ -569,6 +569,7 @@
case lval::DeclValKind:
case lval::FuncValKind:
case lval::GotoLabelKind:
+ case lval::StringLiteralValKind:
return NonLVal::MakeIntTruthVal(BasicVals, L == R);
}
@@ -632,6 +633,7 @@
case lval::DeclValKind:
case lval::FuncValKind:
case lval::GotoLabelKind:
+ case lval::StringLiteralValKind:
return NonLVal::MakeIntTruthVal(BasicVals, L != R);
}
More information about the cfe-commits
mailing list