- Dec 07, 2011
-
-
Anna Zaks authored
llvm-svn: 145984
-
Douglas Gregor authored
llvm-svn: 145983
-
- Dec 06, 2011
-
-
Richard Smith authored
evaluator into constant initializer handling / IRGen. The practical consequence of this is that the bitcast now lives in the constant's definition, rather than in its uses. The code in the constant expression evaluator was producing vectors of the wrong type and size (and possibly of the wrong value for a big-endian int-to-vector bitcast). We were getting away with this only because we don't yet support constant-folding of any expressions which inspect vector values. llvm-svn: 145981
-
Douglas Gregor authored
llvm-svn: 145973
-
Douglas Gregor authored
llvm-svn: 145958
-
Douglas Gregor authored
modules for each of its subframeworks. llvm-svn: 145957
-
Kostya Serebryany authored
[asan] Mac: do not link dynamic libs with the asan-rt, use -undefined dynamic_lookup for dynamic libs. Style fixes. Patch by glider@google.com llvm-svn: 145955
-
Douglas Gregor authored
llvm-svn: 145945
-
Douglas Gregor authored
most specific (sub)module based on the actual file we find, rather than always importing the top-level module. This means that #include'ing <Foo/Blah.h> should give us the submodule Foo.Blah. llvm-svn: 145942
-
Douglas Gregor authored
frameworks). A submodule can now be labeled as a "framework", and header search will look into the appropriate Headers/PrivateHeaders subdirectories for named headers. llvm-svn: 145941
-
Douglas Gregor authored
explicit submodules or umbrella headers from submodules. Instead, build the entire module at once, and let the name-hiding mechanisms hide the contents of explicit submodules at load time. llvm-svn: 145940
-
Daniel Dunbar authored
- Fixes <rdar://problem/10261246> clang -maes option is not sufficient to include <wmmintrin.h> llvm-svn: 145939
-
Douglas Gregor authored
functionality change yet. llvm-svn: 145938
-
Rafael Espindola authored
llvm-svn: 145935
-
Hans Wennborg authored
A mistyped function call becomes an inmplicit function declaration in C. Suggest typo correction when one can be found. llvm-svn: 145930
-
Erik Verbruggen authored
Fixes PR2709. llvm-svn: 145928
-
Richard Trieu authored
in the following code: void test4(bool (&x)(void)) { while (x); } llvm-svn: 145918
-
Nick Lewycky authored
realignment, even with locals with alignment exceeding the ABI guarantee. llvm-svn: 145909
-
Eli Friedman authored
llvm-svn: 145905
-
Douglas Gregor authored
implicitly generates submodules corresponding to the headers that fall within a module. llvm-svn: 145887
-
Eli Friedman authored
llvm-svn: 145874
-
Fariborz Jahanian authored
attributes don't match its declaration. // rdar://10529259. llvm-svn: 145872
-
Joerg Sonnenberger authored
backend options are gone. llvm-svn: 145868
-
- Dec 05, 2011
-
-
Fariborz Jahanian authored
llvm-svn: 145867
-
Douglas Gregor authored
Module, and (de-)serialize this information. Semantics of inferred submodules to follow. llvm-svn: 145864
-
Eli Friedman authored
Make EmitAggregateCopy take an alignment argument. Make EmitFinalDestCopy pass in the correct alignment when known. The test includes a FIXME for a related case involving calls; it's a bit more complicated to fix because the RValue class doesn't keep track of alignment. <rdar://problem/10463337> llvm-svn: 145862
-
Anna Zaks authored
(Previously, Clang used it's implementation of dominators.) The patch is contributed by Guoping Long! llvm-svn: 145858
-
Anna Zaks authored
llvm-svn: 145857
-
Anna Zaks authored
This is a fixup for r145832. The extra clauses do not matter after we remove the dependency on canReasonAbout(InitVal) in r145832. llvm-svn: 145856
-
Lang Hames authored
methods) to bool. E.g. void foo() {} if (f) { ... // <- Warns here. } Only applies to non-weak functions, and does not apply if the function address is taken explicitly with the addr-of operator. llvm-svn: 145849
-
Lang Hames authored
llvm-svn: 145845
-
Fariborz Jahanian authored
llvm-svn: 145841
-
Anna Zaks authored
class. We are going into the direction of handling SymbolData and other SymExpr uniformly, so it makes less sense to keep two different SVal classes. For example, the checkers would have to take an extra step to reason about each type separately. The classes have the same members, we were just using the SVal kind field for easy differentiation in 3 switch statements. The switch statements look more ugly now, but we can make the code more readable in other ways, for example, moving some code into separate functions. llvm-svn: 145833
-
Anna Zaks authored
ExprEngine. Teach SimpleConstraintManager::assumeSymRel() to propagate constraints to symbolic expressions. + One extra warning (real bug) is now generated due to enhanced assumeSymRel(). llvm-svn: 145832
-
Anna Zaks authored
ConstraintManager::canReasonAbout() from the ExprEngine. ExprEngine should not care if the constraint solver can reason about something or not. The solver should be able to handle all the SymExprs. To do this, the solver should be able to keep track of not only the SymbolData but of all SymExprs. This is why we change SymbolRef to be an alias of SymExpr*. When encountering an expression it cannot simplify, the solver should just add the constraints to it. llvm-svn: 145831
-
Anna Zaks authored
llvm-svn: 145830
-
Anna Zaks authored
of relying on SymbolID. This way any expression can be printed (not only SymbolData). llvm-svn: 145829
-
Anna Zaks authored
requiring CFG. Adding more ugly code; the evnvironment printing should be moved to envirnment at some point. llvm-svn: 145828
-
Anna Zaks authored
llvm-svn: 145827
-
Fariborz Jahanian authored
llvm-svn: 145824
-