[cfe-commits] r50246 - /cfe/trunk/lib/Analysis/ValueState.cpp
Ted Kremenek
kremenek at apple.com
Thu Apr 24 18:56:50 PDT 2008
Author: kremenek
Date: Thu Apr 24 20:56:50 2008
New Revision: 50246
URL: http://llvm.org/viewvc/llvm-project?rev=50246&view=rev
Log:
Handle dereferences of function pointers (which return a handle to the function).
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=50246&r1=50245&r2=50246&view=diff
==============================================================================
--- cfe/trunk/lib/Analysis/ValueState.cpp (original)
+++ cfe/trunk/lib/Analysis/ValueState.cpp Thu Apr 24 20:56:50 2008
@@ -212,6 +212,9 @@
return UnknownVal();
}
+ case lval::FuncValKind:
+ return LV;
+
case lval::StringLiteralValKind:
// FIXME: Implement better support for fetching characters from strings.
return UnknownVal();
More information about the cfe-commits
mailing list