- Dec 10, 2010
-
-
John McCall authored
space better. Remove this reference. To make that work, change some APIs (most importantly, getDesugaredType()) to take an ASTContext& if they need to return a QualType. Simultaneously, diminish the need to return a QualType by introducing some useful APIs on SplitQualType, which is just a std::pair<const Type *, Qualifiers>. llvm-svn: 121478
-
- Dec 08, 2010
-
-
Francois Pichet authored
llvm-svn: 121298
-
- Dec 07, 2010
-
-
Jay Foad authored
zextOrTrunc(), and APSInt methods extend(), extOrTrunc() and new method trunc(), to be const and to return a new value instead of modifying the object in place. llvm-svn: 121121
-
Francois Pichet authored
New AST node introduced: BinaryTypeTraitExpr; to be reused for more intrinsics. llvm-svn: 121074
-
- Dec 06, 2010
-
-
John McCall authored
reason this is limited to C++, and it's certainly not limited to temporaries. llvm-svn: 120996
-
Ted Kremenek authored
llvm-svn: 120970
-
Ted Kremenek authored
Environment::lookupExpr() and move its implementation out-of-line. llvm-svn: 120969
-
- Dec 04, 2010
-
-
Francois Pichet authored
More anonymous struct/union redesign. This one deals with anonymous field used in a constructor initializer list: struct X { X() : au_i1(123) {} union { int au_i1; float au_f1; }; }; clang will now deal with au_i1 explicitly as an IndirectFieldDecl. llvm-svn: 120900
-
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
-
Argyrios Kyrtzidis authored
llvm-svn: 120873
-
- Dec 03, 2010
-
-
Ted Kremenek authored
a node in the trimmed graph might not always correctly map back to the original error node. This could cause a crash in some cases when flagging memory leaks. llvm-svn: 120795
-
Ted Kremenek authored
when generating DOT output for an ExplodedGraph. llvm-svn: 120794
-
Argyrios Kyrtzidis authored
llvm-svn: 120783
-
Argyrios Kyrtzidis authored
Remove leftover code and use the text path diagnostic client even without a specified output file since it just uses diagnostic notes. llvm-svn: 120773
-
Argyrios Kyrtzidis authored
the sequence of events; useful for testing. llvm-svn: 120770
-
Argyrios Kyrtzidis authored
llvm-svn: 120769
-
Argyrios Kyrtzidis authored
llvm-svn: 120768
-
- Dec 02, 2010
-
-
Ted Kremenek authored
llvm-svn: 120696
-
John McCall authored
into the latter. llvm-svn: 120643
-
- Dec 01, 2010
-
-
Ted Kremenek authored
to 'assumeXXX'. llvm-svn: 120614
-
Ted Kremenek authored
'evalXXX'. llvm-svn: 120609
-
Ted Kremenek authored
reflects what the class actually does. llvm-svn: 120605
-
John McCall authored
llvm-svn: 120555
-
- Nov 30, 2010
-
-
John McCall authored
llvm-svn: 120433
-
John McCall authored
about the reliability of this yet. llvm-svn: 120422
-
- Nov 29, 2010
-
-
Michael J. Spencer authored
llvm-svn: 120297
-
- Nov 26, 2010
-
-
Zhongxing Xu authored
llvm-svn: 120178
-
Zhongxing Xu authored
llvm-svn: 120177
-
Zhongxing Xu authored
llvm-svn: 120176
-
Zhongxing Xu authored
llvm-svn: 120173
-
Zhongxing Xu authored
llvm-svn: 120172
-
- Nov 25, 2010
-
-
Zhongxing Xu authored
Also apply some new coding style. llvm-svn: 120144
-
Zhongxing Xu authored
llvm-svn: 120143
-
Zhongxing Xu authored
llvm-svn: 120142
-
Zhongxing Xu authored
llvm-svn: 120141
-
- Nov 24, 2010
-
-
Zhongxing Xu authored
to be consistent with the type of 'this' expr in the method. 此行及以下内容将会被忽略-- M test/Analysis/method-call.cpp M include/clang/Checker/PathSensitive/GRExprEngine.h M lib/Checker/GRCXXExprEngine.cpp llvm-svn: 120094
-
Zhongxing Xu authored
This is required for supporting const reference to temporary objects. llvm-svn: 120093
-
Zhongxing Xu authored
to remake the stackframe everytime in GRExprEngine::ProcessCallEnter(). llvm-svn: 120087
-
Zhanyong Wan authored
llvm-svn: 120073
-
Ted Kremenek authored
ImmutableSet/ImmtuableMap/ImmutableList APIs. Along the way, clean up some method names in the static analyzer so that they are more descriptive and/or start with lowercase letters. llvm-svn: 120071
-