- Apr 22, 2011
-
-
Nick Lewycky authored
llvm-svn: 129954
-
-
Argyrios Kyrtzidis authored
inside DiagnosticIDs::getDiagnosticLevel. llvm-svn: 129950
-
Richard Smith authored
Fix gcc warning. Add parens to this assert, incidentally reassociating it, but the condition is the same either way. llvm-svn: 129948
-
- Apr 21, 2011
-
-
Richard Trieu authored
Add a fixit suggest for missing case keywords inside a switch scope. For instance, in the following code, 'case ' will be suggested before the '1:' switch (x) { 1: return 0; default: return 1; } llvm-svn: 129943
-
Daniel Dunbar authored
can't be represented in the environment define. llvm-svn: 129939
-
Argyrios Kyrtzidis authored
avoiding to create separate Exprs for each one. llvm-svn: 129933
-
Jay Foad authored
llvm-svn: 129929
-
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
-