- Dec 22, 2010
-
-
Argyrios Kyrtzidis authored
[analyzer] Refactoring: Move checkers into lib/GR/Checkers and their own library, libclangGRCheckers llvm-svn: 122422
-
Argyrios Kyrtzidis authored
llvm-svn: 122421
-
Argyrios Kyrtzidis authored
llvm-svn: 122420
-
- Dec 14, 2010
-
-
Abramo Bagnara authored
llvm-svn: 121795
-
- Dec 04, 2010
-
-
John McCall authored
not actually frequently used, because ImpCastExprToType only creates a node if the types differ. So explicitly create an ICE in the lvalue-to-rvalue conversion code in DefaultFunctionArrayLvalueConversion() as well as several other new places, and consistently deal with the consequences throughout the compiler. In addition, introduce a new cast kind for loading an ObjCProperty l-value, and make sure we emit those nodes whenever an ObjCProperty l-value appears that's not on the LHS of an assignment operator. This breaks a couple of rewriter tests, which I've x-failed until future development occurs on the rewriter. Ted Kremenek kindly contributed the analyzer workarounds in this patch. llvm-svn: 120890
-
- Aug 25, 2010
-
-
John McCall authored
to the new constants. llvm-svn: 112047
-
- Aug 22, 2010
-
-
Eli Friedman authored
llvm-svn: 111768
-
- Aug 18, 2010
-
-
Daniel Dunbar authored
llvm-svn: 111314
-
- Jun 23, 2010
-
-
Douglas Gregor authored
types, updating callers of both isFloatingType() and isRealFloatingType() accordingly. Caught at least one issue where we allowed one to declare a vector of vectors (!), along with cleaning up the standard-conversion logic for C++. llvm-svn: 106595
-
- Apr 17, 2010
-
-
Benjamin Kramer authored
Add raw_ostream operators to NamedDecl for convenience. Switch over all users of getNameAsString on a stream. The next step is to print the name directly into the stream, avoiding a temporary std::string copy. llvm-svn: 101632
-
- Mar 24, 2010
-
-
Ted Kremenek authored
llvm-svn: 99442
-
Ted Kremenek authored
llvm-svn: 99441
-
- Jan 26, 2010
-
-
Ted Kremenek authored
llvm-svn: 94609
-
- Jan 25, 2010
-
-
Ted Kremenek authored
llvm-svn: 94428
-
Ted Kremenek authored
(1) libAnalysis is a generic analysis library that can be used by Sema. It defines the CFG, basic dataflow analysis primitives, and inexpensive flow-sensitive analyses (e.g. LiveVariables). (2) libChecker contains the guts of the static analyzer, incuding the path-sensitive analysis engine and domain-specific checks. Now any clients that want to use the frontend to build their own tools don't need to link in the entire static analyzer. This change exposes various obvious cleanups that can be made to the layout of files and headers in libChecker. More changes pending. :) This change also exposed a layering violation between AnalysisContext and MemRegion. BlockInvocationContext shouldn't explicitly know about BlockDataRegions. For now I've removed the BlockDataRegion* from BlockInvocationContext (removing context-sensitivity; although this wasn't used yet). We need to have a better way to extend BlockInvocationContext (and any LocationContext) to add context-sensitivty. llvm-svn: 94406
-
- Jan 15, 2010
-
-
Ted Kremenek authored
Don't suggest the developer use 'arc4random' instead of 'rand' when that function is not available. Fixes PR 6012. llvm-svn: 93508
-
- Dec 03, 2009
-
-
Zhongxing Xu authored
Patch by Lei Zhang! llvm-svn: 90444
-
- Nov 29, 2009
-
-
Benjamin Kramer authored
llvm-svn: 90086
-
- Nov 28, 2009
-
-
Kovarththanan Rajaratnam authored
llvm-svn: 90028
-
- Nov 09, 2009
-
-
Zhongxing Xu authored
llvm-svn: 86537
-
Zhongxing Xu authored
llvm-svn: 86532
-
- Sep 09, 2009
-
-
Mike Stump authored
llvm-svn: 81346
-
- Sep 02, 2009
-
-
- Aug 28, 2009
-
-
Ted Kremenek authored
llvm-svn: 80320
-
rdar://problem/6337132Ted Kremenek authored
Were Dropped Successfully Patch by Geoff Keating! llvm-svn: 80313
-
- Aug 22, 2009
-
-
Ted Kremenek authored
AnalysisContext should never change. Along the way, propagate some constness around. llvm-svn: 79701
-
- Jul 24, 2009
-
-
Ted Kremenek authored
if the DeclRefExpr is a float, not just either argument. llvm-svn: 76998
-
-
- Jul 23, 2009
-
-
Ted Kremenek authored
llvm-svn: 76901
-
Ted Kremenek authored
This implements <rdar://problem/6336718> and checks for CERT secure coding advisory FLP30-C. llvm-svn: 76900
-
Ted Kremenek authored
llvm-svn: 76833
-