- Nov 28, 2009
-
-
Benjamin Kramer authored
llvm-svn: 90033
-
Kovarththanan Rajaratnam authored
llvm-svn: 90031
-
- Nov 26, 2009
-
-
Gabor Greif authored
llvm-svn: 89949
-
Gabor Greif authored
this brings the error on clang -c foo.h -o - closer to clang -c foo.h -o /dev/null llvm-svn: 89948
-
Daniel Dunbar authored
Factor out a LangStandard class and coalesce the information about the standards into LangStandards.def - I'd appreciate another pair of eyeballs to double check this. llvm-svn: 89919
-
Daniel Dunbar authored
llvm-svn: 89917
-
Daniel Dunbar authored
llvm-svn: 89916
-
Fariborz Jahanian authored
This fixes pr5611. llvm-svn: 89895
-
- Nov 25, 2009
-
-
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
-
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
-
Daniel Dunbar authored
llvm-svn: 89858
-
Daniel Dunbar authored
llvm-svn: 89856
-
Alexis Hunt authored
The attributes are currently ignored. llvm-svn: 89837
-
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
-
- Nov 24, 2009
-
-
Douglas Gregor authored
cleanups for while loops: 1) Make sure that we destroy the condition variable of a while statement each time through the loop for, e.g., while (shared_ptr<WorkInt> p = getWorkItem()) { // ... } 2) Make sure that we always enter a new cleanup scope for the body of the while loop, even when there is no compound expression, e.g., while (blah) RAIIObject raii(blah+1); llvm-svn: 89800
-
Douglas Gregor authored
make sure that this variable is destroyed when we exit the switch statement. llvm-svn: 89776
-
Douglas Gregor authored
rather than burying it in a CXXConditionDeclExpr (that occassionally hides behind implicit conversions). Similar changes for switch, while, and do-while will follow, then the removal of CXXConditionDeclExpr. This commit is the canary. llvm-svn: 89717
-
Daniel Dunbar authored
llvm-svn: 89716
-
- Nov 23, 2009
-
-
John Thompson authored
llvm-svn: 89677
-
Rafael Espindola authored
*) the ../backward dir is the last in libstdc++ to be searched *) If compiling c++, the c++ headers are searched first llvm-svn: 89661
-
Douglas Gregor authored
llvm-svn: 89649
-
- Nov 22, 2009
-
-
Daniel Dunbar authored
llvm-svn: 89629
-
Ken Dyck authored
llvm-svn: 89597
-
- Nov 21, 2009
-
-
Fariborz Jahanian authored
type and fixes a long-standing code gen. crash reported in at least two PRs and a radar. (radar 7405040 and pr5025). There are couple of remaining issues that I would like for Ted. and Doug to look at: Ted, please look at failure in Analysis/MissingDealloc.m. I have temporarily added an expected-warning to make the test pass. This tests has a declaration of 'SEL' type which may not co-exist with the new changes. Doug, please look at a FIXME in PCHWriter.cpp/PCHReader.cpp. I think the changes which I have ifdef'ed out are correct. They need be considered for in a few Indexer/PCH test cases. llvm-svn: 89561
-
Alexis Hunt authored
The following attributes are currently supported in C++0x attribute lists (and in GNU ones as well): - align() - semantics believed to be conformant to n3000, except for redeclarations and what entities it may apply to - final - semantics believed to be conformant to CWG issue 817's proposed wording, except for redeclarations - noreturn - semantics believed to be conformant to n3000, except for redeclarations - carries_dependency - currently ignored (this is an optimization hint) llvm-svn: 89543
-
John Thompson authored
llvm-svn: 89517
-
- Nov 20, 2009
-
-
Daniel Dunbar authored
llvm-svn: 89502
-
Daniel Dunbar authored
llvm-svn: 89464
-
- Nov 19, 2009
-
-
Daniel Dunbar authored
errors. llvm-svn: 89388
-
Ken Dyck authored
llvm-svn: 89353
-
Ken Dyck authored
stdint.h. llvm-svn: 89348
-
Ken Dyck authored
llvm-svn: 89346
-
Ken Dyck authored
__INTPTR_TYPE__ as the last is used in the test/CodeGen/const-init.c and all could potentially be in use in the wild. My apologies. llvm-svn: 89345
-
Ken Dyck authored
replaced with __PTRDIFF_WIDTH__. llvm-svn: 89344
-
Ken Dyck authored
llvm-svn: 89342
-
Ken Dyck authored
__INTPTR_WIDTH__ instead. llvm-svn: 89340
-
Daniel Dunbar authored
llvm-svn: 89333
-
Daniel Dunbar authored
the argument is given. Also, tweak Opt.Sysroot defaulting. llvm-svn: 89318
-