- Apr 21, 2011
-
-
Manuel Klimek authored
the first step towards a standalone Clang tool infrastructure. The plan is to make it easy to build command line tools that run over the AST of source files in a project outside of the build system. llvm-svn: 129924
-
Daniel Dunbar authored
unknown and "required more arguments", but only the latter should be feasible in practice. llvm-svn: 129919
-
Daniel Dunbar authored
llvm-svn: 129918
-
Argyrios Kyrtzidis authored
Fixit suggestion for adding missing tag name should have a space after the tag name. Fixes rdar://9295072 llvm-svn: 129917
-
Eli Friedman authored
llvm-svn: 129907
-
John McCall authored
of which break strict compatibility with previous compilers. Implement one of them and then immediately opt out on Darwin. llvm-svn: 129899
-
Argyrios Kyrtzidis authored
double data[20000000] = {0}; we would blow out the memory by creating 20M Exprs to fill out the initializer. To fix this, if the initializer list initializes an array with more elements than there are initializers in the list, have InitListExpr store a single 'ArrayFiller' expression that specifies an expression to be used for value initialization of the rest of the elements. Fixes rdar://9275920. llvm-svn: 129896
-
Anders Carlsson authored
llvm-svn: 129894
-
Chris Lattner authored
llvm-svn: 129892
-
- Apr 20, 2011
-
-
Justin Holewinski authored
PTX: Add PTX intrinsics as builtins and add ptx32 and ptx64 as valid architectures for triples, e.g. ptx32-unknown-unknown llvm-svn: 129870
-
Douglas Gregor authored
access expression that appears to be a property reference. Fixes <rdar://problem/8985943>. llvm-svn: 129865
-
Douglas Gregor authored
alignment, which causes traps further down the line. Fixes <rdar://problem/9109755>, which contains a test case far too large to commit :( llvm-svn: 129861
-
Douglas Gregor authored
out-of-line destructors can result in the addition of redundant destructors to a class. It's not harmful to the AST. Fixes <rdar://problem/9158632>. llvm-svn: 129860
-
Fariborz Jahanian authored
llvm-svn: 129856
-
Daniel Dunbar authored
llvm-svn: 129853
-
Douglas Gregor authored
rewriter, from Eric Niebler! llvm-svn: 129849
-
Douglas Gregor authored
during deserialization from a precompiled header, and update all of its callers to note when this problem occurs and recover (more) gracefully. Fixes <rdar://problem/9119249>. llvm-svn: 129839
-
Daniel Dunbar authored
llvm-svn: 129835
-
Daniel Dunbar authored
llvm-svn: 129834
-
Daniel Dunbar authored
were computing the conversion as (ptr != 0 && non-virtual), when it should be (ptr != 0 || is-virtual). - Test to follow in LLVM test-suite. llvm-svn: 129830
-
Chris Lattner authored
llvm-svn: 129829
-
- Apr 19, 2011
-
-
Daniel Dunbar authored
llvm-svn: 129824
-
Daniel Dunbar authored
llvm-svn: 129823
-
Fariborz Jahanian authored
// rdar://9132143 llvm-svn: 129822
-
Daniel Dunbar authored
llvm-svn: 129820
-
Chris Lattner authored
redundancy pointed out by John. llvm-svn: 129808
-
Argyrios Kyrtzidis authored
gcc's unused warnings which don't get emitted if the function is referenced even in an unevaluated context (e.g. in templates, sizeof, etc.). Also, saying that a function is 'unused' because it won't get codegen'ed is somewhat misleading. - Don't emit 'unused' warnings for functions that are referenced in any part of the user's code. - A warning that an internal function/variable won't get emitted is useful though, so introduce -Wunneeded-internal-declaration which will warn if a function/variable with internal linkage is not "needed" ('used' from the codegen perspective), e.g: static void foo() { } template <int> void bar() { foo(); } test.cpp:1:13: warning: function 'foo' is not needed and will not be emitted static void foo() { } ^ Addresses rdar://8733476. llvm-svn: 129794
-
Peter Collingbourne authored
CL_AddressableVoid is the expression classification used for void expressions whose address can be taken, i.e. the result of [], * or void variable references in C, as opposed to things like the result of a void function call. llvm-svn: 129783
-
Anders Carlsson authored
llvm-svn: 129741
-
Daniel Dunbar authored
llvm-svn: 129734
-
Ted Kremenek authored
llvm-svn: 129728
-
- Apr 18, 2011
-
-
Daniel Dunbar authored
llvm-svn: 129721
-
Fariborz Jahanian authored
of conditional expressions of objc pointer types where one type is the immediate base type of the other. // rdar://9296866 llvm-svn: 129718
-
Daniel Dunbar authored
llvm-svn: 129712
-
Ted Kremenek authored
llvm-svn: 129704
-
Devang Patel authored
llvm-svn: 129703
-
Richard Smith authored
Fix PR9741. The implicit declarations created for range-based for loops weren't being added to the DeclContext (nor were they being marked as implicit). Also, the declarations were being emitted in the wrong order when building the CFG. llvm-svn: 129700
-
Douglas Gregor authored
implementation such as @synthesize Prop1 = Give priority to ivars whose type matches or closely matches the property type (as we do for several other kinds of results). Additionally, if there is an ivar with the same name as the property, or differs only due to a _ prefix or suffix, give that ivar a priority bump. Finally, verify that this search is properly returning ivars within class extensions and implementations (<rdar://problem/8488854>). llvm-svn: 129699
-
Anders Carlsson authored
llvm-svn: 129698
-
Douglas Gregor authored
implementation @synthesize <property> = also produce a completion for a to-be-synthesized ivar named _<property>. llvm-svn: 129697
-