- Dec 08, 2011
-
-
Peter Collingbourne authored
between the casted type of the return value of a malloc/calloc/realloc call and the operand of any sizeof expressions contained within its argument(s). llvm-svn: 146144
-
Hal Finkel authored
llvm-svn: 146142
-
Rafael Espindola authored
that have it in /usr/include (only OS X Lion so far). llvm-svn: 146140
-
David Blaikie authored
llvm-svn: 146138
-
Bob Wilson authored
llvm-svn: 146122
-
Daniel Dunbar authored
integration. llvm-svn: 146098
-
Daniel Dunbar authored
dual support for compiler-rt on Linux, during bringup. llvm-svn: 146094
-
- Dec 07, 2011
-
-
Douglas Gregor authored
private headers in a framework. llvm-svn: 146082
-
Douglas Gregor authored
llvm-svn: 146074
-
Anna Zaks authored
llvm-svn: 146056
-
Benjamin Kramer authored
llvm-svn: 146034
-
Hans Wennborg authored
in addition to underlying type. For example, the warning for printf("%zu", 42.0); changes from "conversion specifies type 'unsigned long'" to "conversion specifies type 'size_t' (aka 'unsigned long')" (This is a second attempt after r145697, which got reverted.) llvm-svn: 146032
-
Argyrios Kyrtzidis authored
-Allow it to be used with multiple BeginSourceFile/EndSourceFile calls; for this introduce a "finish" callback method in the DiagnosticConsumer. SDiagsWriter finishes up the serialization file inside this method. -Make it independent of any particular DiagnosticsEngine; make it use the SourceManager of the Diagnostic object. -Ignore null source ranges. llvm-svn: 146020
-
Eli Friedman authored
llvm-svn: 146016
-
Douglas Gregor authored
when we load a module map (module.map) from a directory, also load a private module map (module_private.map) for that directory, if present. That private module map can inject a new submodule that captures private headers. llvm-svn: 146012
-
Eli Friedman authored
Make sure we correctly zero-initialize unions containing a pointer to data member as the first field. PR11487. llvm-svn: 146009
-
Anna Zaks authored
SVal can be not only a symbol, but a MemRegion. Add support for such cases. llvm-svn: 146006
-
Douglas Gregor authored
module, at least have the decency to complain about it. llvm-svn: 146002
-
Richard Smith authored
bound to not have side effects(!). Add constant-folding support for expressions of void type, to ensure that we can still fold ((void)0, 1) as an array bound. llvm-svn: 146000
-
Fariborz Jahanian authored
methods with these attributes are sent to receivers of 'id' type too. // rdar://10459930 llvm-svn: 145999
-
Richard Smith authored
for a foldable constant rather than an IR-level constant. This is still far too liberal, but is a step in the right direction. llvm-svn: 145990
-
Anna Zaks authored
llvm-svn: 145987
-
Anna Zaks authored
for finding dependent symbols for taint. llvm-svn: 145986
-
Anna Zaks authored
- Created a new SymExpr type - SymbolCast. - SymbolCast is created when we don't know how to simplify a NonLoc to NonLoc casts. - A bit of code refactoring: introduced dispatchCast to have better code reuse, remove a goto. - Updated the test case to showcase the new taint flow. llvm-svn: 145985
-
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
-