- Dec 08, 2009
-
-
Fariborz Jahanian authored
Still some refactoring to do. llvm-svn: 90830
-
Eli Friedman authored
diagnostics (specifically, that any extension in a compiler-reserved namespace shouldn't trigger a diagnostic). llvm-svn: 90826
-
Eli Friedman authored
llvm-svn: 90825
-
Eli Friedman authored
or non-record aggregate members. It might be worth spending some time to optimize this code (and the parallel code for copy constructors) to memcpy in larger chunks, rather than copying one member at a time. Not sure exactly how beneficial that would be, but it seems like could help for large classes with, for example, a vtable pointer forcing the generation of a copy constructor. llvm-svn: 90823
-
Jeffrey Yasskin authored
llvm-svn: 90822
-
Mike Stump authored
llvm-svn: 90821
-
Anders Carlsson authored
No need to add tail padding if the resulting LLVM struct type will have the same size as the final record size. llvm-svn: 90820
-
Eli Friedman authored
(Yes, I do intend to commit some tests for this.) llvm-svn: 90818
-
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
-