- Dec 07, 2011
-
-
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
-
Argyrios Kyrtzidis authored
- Exposes a CXType_Vector type kind for vector types. - Adds generalized versions of the clang_getArrayElementType and clang_getArraySize functions, named clang_getElementType and clang_getNumElements, which work on array, vector, or complex types. - Adds additional functions for querying function types. clang_isFunctionTypeVariadic returns true if a function type is variadic. clang_getFunctionCallingConv returns an enumeration value indicating the calling convention of the function type. clang_getNumArgTypes returns the number of static argument types, and clang_getArgType gets the type of an argument. - Adds a clang_getTypedefDeclUnderlyingType function to get the underlying type from a TypedefDecl cursor. - Adds a clang_getEnumDeclIntegerType function to get the integer type from an EnumDecl cursor. - Adds clang_getEnumConstantDeclValue and clang_getEnumConstantDeclUnsignedValue functions to get the value of an EnumConstantDecl as a signed or unsigned long long, respectively. - Exposes a CXCursor_AsmLabelAttr cursor kind for __asm__("label") attributes. - Alters clang_getCursorSpelling to return the label value for AsmLabelAttr-kind cursors. llvm-svn: 145972
-
Douglas Gregor authored
llvm-svn: 145959
-
Douglas Gregor authored
llvm-svn: 145958
-
Douglas Gregor authored
modules for each of its subframeworks. llvm-svn: 145957
-
Benjamin Kramer authored
llvm-svn: 145956
-
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
llvm-svn: 145915
-
Nick Lewycky authored
realignment, even with locals with alignment exceeding the ABI guarantee. llvm-svn: 145909
-
Eli Friedman authored
llvm-svn: 145905
-
John McCall authored
of &= on pseudo-objects. llvm-svn: 145904
-
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
-
Argyrios Kyrtzidis authored
of kind CXIdxEntity_CXXInstanceVariable. rdar://10522503. llvm-svn: 145859
-
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
-
Anna Zaks authored
llvm-svn: 145855
-
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
-