- 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
-
- Nov 20, 2010
-
-
Zhongxing Xu authored
llvm-svn: 119900
-
Zhanyong Wan authored
llvm-svn: 119899
-
Zhongxing Xu authored
llvm-svn: 119897
-
- Nov 18, 2010
-
-
Argyrios Kyrtzidis authored
of the total number of warnings/errors reported. llvm-svn: 119731
-
Argyrios Kyrtzidis authored
-Move the stuff of Diagnostic related to creating/querying diagnostic IDs into a new DiagnosticIDs class. -DiagnosticIDs can be shared among multiple Diagnostics for multiple translation units. -The rest of the state in Diagnostic object is considered related and tied to one translation unit. -Have Diagnostic point to the SourceManager that is related with. Diagnostic can now accept just a SourceLocation instead of a FullSourceLoc. -Reflect the changes to various interfaces. llvm-svn: 119730
-
Marcin Swiderski authored
Added method for handling CXXOperatorCallExpr differently from CallExpr if CXXOperatorCallExpr represents method call. Also fixed returning ExpolodedNodeSet from VisitCXXMethodCallExpr. llvm-svn: 119684
-
- Nov 17, 2010
-
-
Marcin Swiderski authored
In EvalArguments allow for evaluation of first argument always as a lvalue. Will be used for CXXOperatorCallExpr that represents method call. llvm-svn: 119567
-
Zhongxing Xu authored
llvm-svn: 119491
-
Zhongxing Xu authored
llvm-svn: 119480
-
Zhongxing Xu authored
llvm-svn: 119477
-
Marcin Swiderski authored
llvm-svn: 119467
-
Ted Kremenek authored
llvm-svn: 119436
-
- Nov 16, 2010
-
-
Ted Kremenek authored
allocation sizes of 0 bytes. Fixes PR 2899. llvm-svn: 119364
-
John McCall authored
llvm-svn: 119342
-
Marcin Swiderski authored
Refactored GRExprEngine::getCXXThisRegion to use CXXMethodDecl::getThisType instead of calculating it by hand. llvm-svn: 119341
-
Zhongxing Xu authored
- Add a new Kind of ProgramPoint: PostInitializer. - Still use GRStmtNodeBuilder. But special handling PostInitializer in GRStmtNodeBuilder::GenerateAutoTransition(). - Someday we should clean up the interface of GRStmtNodeBuilder. llvm-svn: 119335
-
Marcin Swiderski authored
- CXXThisRegion treated like VarRegion and ObjCIVarRegion in various places, - Reference treated like pointer in BindDeclInternal. llvm-svn: 119333
-
John McCall authored
llvm-svn: 119331
-
John McCall authored
certain internal type-checking procedures as well as for representing certain implicitly-generated operations. Uses to follow. llvm-svn: 119289
-
Zhanyong Wan authored
Adds a README for the Clang static analyzer to document its design and work flow. The contents are taken from email notes by kremenek and xuzhongxing. llvm-svn: 119288
-
- Nov 15, 2010
-
-
Ted Kremenek authored
Relax assertion in SValuator so that we don't crash when analyzing a call via a function pointer that casts the return value to something completely different. While we need better reasoning here, we should definately not crash. llvm-svn: 119177
-
John McCall authored
llvm-svn: 119138
-
Zhongxing Xu authored
llvm-svn: 119135
-
- Nov 14, 2010
-
-
John McCall authored
implicit conversions; the last batch was specific to promotions. I think this is the full set we need. I do think dividing the cast kinds into floating and integral is probably a good idea. Annotate a *lot* more C casts with useful cast kinds. llvm-svn: 119036
-
- Nov 13, 2010
-
-
John McCall authored
between complex types. llvm-svn: 118994
-
Ted Kremenek authored
BlockEdges, BlockEntrances, and BlockExits for the target block value. llvm-svn: 118984
-
Ted Kremenek authored
worklist that could have impacted the evaluation of a block. Fixes <rdar://problem/8663596>. llvm-svn: 118983
-
Ted Kremenek authored
This API required changing the BFS worklist to use a deque instead of a queue, but that is better for performance reasons anyway. llvm-svn: 118982
-
John McCall authored
llvm-svn: 118966
-
- Nov 12, 2010
-
-
Douglas Gregor authored
SourceManager::getPresumedLoc(), so that we don't try to make use of an invalid presumed location. Doing so can cause crashes. llvm-svn: 118885
-
Ted Kremenek authored
RegionStore/BasicStore: do not return UndefinedVal for accesses to concrete addresses; instead return UnknownVal. This leads it up to checkers (e.g., DereferenceChecker) to guard against illegal accesses (e.g., null dereferences). Fixes PR 5272 and <rdar://problem/6839683>. llvm-svn: 118852
-
- Nov 09, 2010
-
-
Ted Kremenek authored
Teach AttrNonNullChecker about transparent unions. Fixes crash reported in <rdar://problem/8642434>. llvm-svn: 118473
-
- Nov 08, 2010
-
-
Ted Kremenek authored
llvm-svn: 118414
-
- Nov 02, 2010
-
-
Douglas Gregor authored
declaration names, from Jim Goodnow II! llvm-svn: 117970
-
- Nov 01, 2010
-
-
Zhongxing Xu authored
Let the destination of AggExprVisitor be an explicit MemRegion. Reenable the test case. llvm-svn: 117908
-