- May 20, 2012
-
-
Peter Collingbourne authored
Because in CUDA types do not have associated address spaces, globals are declared in their "native" address space, and accessed by bitcasting the pointer to address space 0. This relies on address space 0 being a unified address space. llvm-svn: 157167
-
Benjamin Kramer authored
llvm-svn: 157158
-
Nico Weber authored
llvm-svn: 157139
-
Eli Friedman authored
I'm pretty sure we are in fact doing the right thing here, but someone who knows the standard better should double-check that we are in fact supposed to zero out the member in the given testcase. llvm-svn: 157138
-
Eli Friedman authored
Make delegating initializers use a similar codepath to base initializers in dependent contexts. PR12890. llvm-svn: 157136
-
- May 19, 2012
-
-
Fariborz Jahanian authored
and provide a 'fixit' to change 'readonly' to 'readwrite'. 'fixit' part needs little more work. // rdar://11448209 llvm-svn: 157121
-
Dmitri Gribenko authored
llvm-svn: 157119
-
Benjamin Kramer authored
llvm-svn: 157117
-
Benjamin Kramer authored
Simplify some users of DeclarationName::getNameKind. Fold getFETokenInfoAsVoid into its only caller. llvm-svn: 157116
-
Benjamin Kramer authored
llvm-svn: 157114
-
Eric Christopher authored
types and ensure we are actually creating the type. rdar://11479676 llvm-svn: 157095
-
Anna Zaks authored
llvm-svn: 157088
-
Kaelyn Uhrain authored
accept the template argument expression as a type. llvm-svn: 157085
-
Anna Zaks authored
llvm-svn: 157082
-
Anna Zaks authored
llvm-svn: 157081
-
- May 18, 2012
-
-
Benjamin Kramer authored
Lexer::ReadToEndOfLine: Only build the string if it's actually used and do so in a less malloc-intensive way. llvm-svn: 157064
-
Rafael Espindola authored
warning. This also makes us warn on tags, which, ironically, is the only case gcc warns on. llvm-svn: 157039
-
Anna Zaks authored
allocating functions. llvm-svn: 157037
-
Douglas Gregor authored
that the methods have the same number of parameters, although we certainly assumed this in many places. Objective-C can be insane sometimes. Fixes <rdar://problem/11460990>. llvm-svn: 157025
-
Douglas Gregor authored
In the override search for Objective-C methods, protect against ASTs that have NULL interfaces behind a category, which can happen in invalid code. Fixes <rdar://problem/11478173>, a recent regression llvm-svn: 157021
-
- May 17, 2012
-
-
Argyrios Kyrtzidis authored
migration error. This is more trouble that it is worth; autoreleasing a value without holding on it is a valid use-case, we should not "punish" correct code for the minority of broken/fragile programs that depend on the behavior of -autorelease. rdar://9914061 llvm-svn: 156999
-
Abramo Bagnara authored
llvm-svn: 156988
-
Benjamin Kramer authored
llvm-svn: 156987
-
Matt Beaumont-Gay authored
about argument type mismatch. This gives a nicer diagnostic in cases like printf(fmt, i); where previously the snippet just pointed at 'fmt' (with a note at the definition of fmt). It's a wash for cases like printf("%f", i); where previously we snippeted the offending portion of the format string, but didn't indicate which argument was at fault. llvm-svn: 156968
-
Argyrios Kyrtzidis authored
of the DeclStmt node, otherwise libclang will not work for anything inside that class. rdar://10837710 llvm-svn: 156966
-
Chad Rosier authored
used by the preprocessor. Apple's GCC also supported a -A option for linking. The ld man page has the following: -A basefile - Obsolete incremental load format. This option is obsolete. Nick Kledzik confirms this option is no longer needed/supported. rdar://11455614 llvm-svn: 156965
-
Richard Smith authored
Disambiguate past such a potential problem, and use the absence of 'typename' to break ties in favor of a parenthesized thingy being an initializer, if nothing else in the declaration disambiguates it as declaring a function. llvm-svn: 156963
-
Eric Christopher authored
llvm-svn: 156953
-
- May 16, 2012
-
-
Chad Rosier authored
llvm-svn: 156950
-
Manuel Klimek authored
llvm-svn: 156947
-
Chad Rosier authored
generation of implicit floating point instructions can be disable for ARM. rdar://11409142 llvm-svn: 156942
-
Chad Rosier authored
llvm-svn: 156938
-
Chad Rosier authored
for subtle misspellings such as -Wno-unused-command-line-arguments instead of -Wno-unused-command-line-argument. Also fix the diagnostic messages to properly handle -Wno- options. Previously, the positive version was always emitted (i.e., -Wfoo was emitted for -Wno-foo). rdar://11461500 llvm-svn: 156937
-
Richard Trieu authored
a warning for an extra semi-colon after function definitions. Added logic so that a block of semi-colons on a line will only get one warning instead of a warning for each semi-colon. llvm-svn: 156934
-
Douglas Gregor authored
lambda as referring to a local in an enclosing scope if we're in the enclosing scope of the lambda (not it's function call operator). Also, turn the test into an IR generation test, since that's where the crashes occurred. Really fixes PR12746 / <rdar://problem/11465120>. llvm-svn: 156926
-
Douglas Gregor authored
blocks and lambdas, based heavily on a patch from Meador Inge. Fixes PR12746 / <rdar://problem/11465120>. llvm-svn: 156925
-
Douglas Gregor authored
llvm-svn: 156923
-
Douglas Gregor authored
llvm-svn: 156922
-
Jordy Rose authored
The new debug.ExprInspection checker looks for calls to clang_analyzer_eval, and emits a warning of TRUE, FALSE, or UNKNOWN (or UNDEFINED) based on the constrained value of its (boolean) argument. It does not modify the analysis state though the conditions tested can result in branches (e.g. through the use of short-circuit operators). llvm-svn: 156919
-
Benjamin Kramer authored
llvm-svn: 156916
-