- Dec 08, 2009
-
-
Mike Stump authored
llvm-svn: 90817
-
- Dec 07, 2009
-
-
John McCall authored
Patch by Nicola Gigante! llvm-svn: 90814
-
Ted Kremenek authored
llvm-svn: 90812
-
Ted Kremenek authored
Add clang-cc option '-analyzer-opt-analyze-nested-blocks' to treat block literals as an entry point for analyzer checks. llvm-svn: 90810
-
Ted Kremenek authored
- Refactor the MemRegion hierarchy to distinguish between different StackSpaceRegions for locals and parameters. - VarRegions for "captured" variables now have the BlockDataRegion as their super region (except those passed by reference) - Add transfer function support to GRExprEngine for BlockDeclRefExprs. This change also supports analyzing blocks as an analysis entry point (top-of-the-stack), which required pushing more context-sensitivity around in the MemRegion hierarchy via the use of LocationContext objects. Functionally almost everything is the same, except we track LocationContexts in a few more areas and StackSpaceRegions now refer to a StackFrameContext object. In the future we will need to modify MemRegionManager to allow multiple StackSpaceRegions in flight at once (for the analysis of multiple stack frames). llvm-svn: 90809
-
Ted Kremenek authored
llvm-svn: 90808
-
Eli Friedman authored
llvm-svn: 90800
-
Eli Friedman authored
llvm-svn: 90799
-
Mike Stump authored
llvm-svn: 90796
-
Fariborz Jahanian authored
(fixes radar 7447251). llvm-svn: 90795
-
Anders Carlsson authored
llvm-svn: 90794
-
Mike Stump authored
llvm-svn: 90780
-
Nuno Lopes authored
llvm-svn: 90778
-
Rafael Espindola authored
claim it in Driver.cpp instead of Tools.cpp. llvm-svn: 90777
-
Fariborz Jahanian authored
(fixes radar 7442244). llvm-svn: 90773
-
Nuno Lopes authored
llvm-svn: 90772
-
Chris Lattner authored
llvm-svn: 90769
-
Douglas Gregor authored
llvm-svn: 90758
-
Douglas Gregor authored
llvm-svn: 90757
-
Douglas Gregor authored
llvm-svn: 90756
-
Zhongxing Xu authored
handler to this interface. GRExprEngine::CheckerEvalCall() will return true if one of the checkers has processed the node. In the future this might return void when we have some default checker. llvm-svn: 90755
-
Anders Carlsson authored
Instantiated or specialized class templates never have a key function. This (and the previous check-in) fixes PR5557. llvm-svn: 90753
-
Anders Carlsson authored
Rework how virtual member functions are marked. If a class has no key function, we now wait until the end of the translation unit to mark its virtual member functions as references. This lays the groundwork for fixing PR5557. llvm-svn: 90752
-
Anders Carlsson authored
llvm-svn: 90751
-
Anders Carlsson authored
llvm-svn: 90750
-
Eli Friedman authored
(although it does pass regression tests). llvm-svn: 90747
-
Eli Friedman authored
more accurate. llvm-svn: 90746
-
Anders Carlsson authored
llvm-svn: 90745
-
John McCall authored
but the results are imperfect. For posterity, I did: cat <<EOF > $cmdfile s/DeclaratorInfo/TypeSourceInfo/g s/DInfo/TInfo/g s/TypeTypeSourceInfo/TypeSourceInfo/g s/SourceTypeSourceInfo/TypeSourceInfo/g EOF find lib -name '*.cpp' -not -path 'lib/Parse/*' -exec sed -i '' -f $cmdfile '{}' \; find lib -name '*.h' -exec sed -i '' -f $cmdfile '{}' \; find include -name '*.h' -not -path 'include/clang/Parse/*' -not -path 'include/clang/Basic/*' -exec sed -i '' -f $cmdfile '{}' \; llvm-svn: 90743
-
Chris Lattner authored
llvm-svn: 90735
-
Chris Lattner authored
llvm-svn: 90732
-
Chris Lattner authored
llvm-svn: 90731
-
Chris Lattner authored
This time with a fix to bail out when in a dependent context. llvm-svn: 90730
-
Chris Lattner authored
llvm-svn: 90729
-
Eli Friedman authored
subsequent code which depends on a complete type does the right thing. llvm-svn: 90727
-
Sam Weinig authored
Don't print a void return type for C++ constructors and destructors when generating a predefined expr for them. llvm-svn: 90725
-
- Dec 06, 2009
-
-
Eli Friedman authored
llvm-svn: 90723
-
Eli Friedman authored
generation, and make sure we generate thunks when the function is defined rather than when the vtable is defined. llvm-svn: 90722
-
Douglas Gregor authored
PointerUnion == PointerUnion does not do what I thought it did. Also, fix a thinko in a PointerUnion::get call. llvm-svn: 90719
-