[cfe-commits] r50245 - /cfe/trunk/lib/Analysis/ValueState.cpp
Ted Kremenek
kremenek at apple.com
Thu Apr 24 18:45:38 PDT 2008
Author: kremenek
Date: Thu Apr 24 20:45:38 2008
New Revision: 50245
URL: http://llvm.org/viewvc/llvm-project?rev=50245&view=rev
Log:
Don't abort on GetRVal when the LVal is a StringLiteralVal.
Modified:
cfe/trunk/lib/Analysis/ValueState.cpp
Modified: cfe/trunk/lib/Analysis/ValueState.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Analysis/ValueState.cpp?rev=50245&r1=50244&r2=50245&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/ValueState.cpp (original)
+++ cfe/trunk/lib/Analysis/ValueState.cpp Thu Apr 24 20:45:38 2008
@@ -212,6 +212,10 @@
return UnknownVal();
}
+ case lval::StringLiteralValKind:
+ // FIXME: Implement better support for fetching characters from strings.
+ return UnknownVal();
+
default:
assert (false && "Invalid LVal.");
break;
More information about the cfe-commits
mailing list