- Nov 26, 2009
-
-
Ted Kremenek authored
llvm-svn: 89897
-
Fariborz Jahanian authored
This fixes pr5611. llvm-svn: 89895
-
- Nov 25, 2009
-
-
John Thompson authored
llvm-svn: 89894
-
Ted Kremenek authored
llvm-svn: 89892
-
Douglas Gregor authored
the linkage of a declaration. Switch the lame (and completely wrong) NamedDecl::hasLinkage() over to using the new NamedDecl::getLinkage(), along with the "can this declaration be a template argument?" check that started all of this. Fixes -fsyntax-only for PR5597. llvm-svn: 89891
-
Ted Kremenek authored
llvm-svn: 89890
-
Ted Kremenek authored
Add a new RetainReleaseChecker class (that subclasses CheckerVisitor) to extend the functionality of the retain/release checker using the new Checker interface. Pieces of CFRefCount will gradually be migrated to this new class over time. llvm-svn: 89889
-
Ted Kremenek authored
llvm-svn: 89888
-
Ted Kremenek authored
Call GRExprEngine::setTransferFunctions() after registering all Checkers. This allows GRTransferFuncs::RegisterChecks() to always be called after all checkers have been registered. llvm-svn: 89887
-
Ted Kremenek authored
Consolidate logic in ActionInlineCall by having it call ActionGRExprEngine instead of replicating most of its logic (and missing pieces). llvm-svn: 89886
-
Fariborz Jahanian authored
initializer name is available. llvm-svn: 89885
-
Ted Kremenek authored
Make RegisterInternalChecks() part of GRExprEngine's private implementation by making it a static function within GRExprEngine.cpp. llvm-svn: 89884
-
Ted Kremenek authored
Register internal checks with GRExprEngine when it is constructed, not manually in AnalysisConsumer.cpp. llvm-svn: 89883
-
Ted Kremenek authored
only stop processing the checkers after all the nodes for a current check have been processed. This (I believe) handles the case where PredSet (the input nodes) contains more than one node due to state bifurcation. Zhongxing: can you review this? llvm-svn: 89882
-
Douglas Gregor authored
llvm-svn: 89874
-
Douglas Gregor authored
function templates (in C++98), friend function templates, and out-of-line definitions of members of class templates. Also handles merging of default template arguments from previous declarations of function templates, for C++0x. However, we don't yet make use of those default template arguments. llvm-svn: 89872
-
Devang Patel authored
llvm-svn: 89867
-
Douglas Gregor authored
Fix a thinko where we weren't always performing unary conversions on the switch condition, fixing PR5612 llvm-svn: 89864
-
Daniel Dunbar authored
llvm-svn: 89861
-
Daniel Dunbar authored
llvm-svn: 89860
-
Daniel Dunbar authored
llvm-svn: 89858
-
Daniel Dunbar authored
llvm-svn: 89856
-
Daniel Dunbar authored
llvm-svn: 89854
-
Daniel Dunbar authored
llvm-svn: 89853
-
Edward O'Callaghan authored
llvm-svn: 89849
-
Douglas Gregor authored
still parse the body of the switch to try to avoid spurious diagnostics. Fixes PR5606. llvm-svn: 89847
-
Douglas Gregor authored
Don't crash when we re-use a template specialization node for an explicit instantiation. lib/Support/CommandLine.cpp is our test case llvm-svn: 89845
-
Douglas Gregor authored
llvm-svn: 89843
-
Douglas Gregor authored
llvm-svn: 89842
-
Alexis Hunt authored
The attributes are currently ignored. llvm-svn: 89837
-
Anders Carlsson authored
llvm-svn: 89835
-
Douglas Gregor authored
statements, e.g., for(; X x = X(); ) { ... } Daniel or Anders, please review! llvm-svn: 89832
-
Ted Kremenek authored
Add really basic support for blocks in the retain/release checker. For now, anytime we pass a tracked object to a block call we stop tracking it. llvm-svn: 89831
-
Ted Kremenek authored
llvm-svn: 89830
-
Ted Kremenek authored
llvm-svn: 89829
-
Ted Kremenek authored
Split CodeTextRegion into FunctionTextRegion and BlockTextRegion. This a precursor to having basic static analysis support for blocks. llvm-svn: 89828
-
Fariborz Jahanian authored
to build casted expression-list AST to Sema. llvm-svn: 89827
-
Douglas Gregor authored
All statements that involve conditions can now hold on to a separate condition declaration (a VarDecl), and will use a DeclRefExpr referring to that VarDecl for the condition expression. ForStmts now have such a VarDecl (I'd missed those in previous commits). Also, since this change reworks the Action interface for if/while/switch/for, use FullExprArg for the full expressions in those expressions, to ensure that we're emitting Note that we are (still) not generating the right cleanups for condition variables in for statements. That will be a follow-on commit. llvm-svn: 89817
-
Sebastian Redl authored
Have the parser tell sema whether a member declaration is a function definition. This allows sema to not emit spurious diagnostics in some invalid code. llvm-svn: 89816
-
- Nov 24, 2009
-
-
Ted Kremenek authored
For the nil-receiver checker, take into account the behavioral changes that got introduced in Mac OS X 10.5 and later, notably return values of double, float, etc., will not be garbage. Fixes <rdar://problem/6829160>. llvm-svn: 89809
-