- Dec 01, 2010
-
-
Douglas Gregor authored
conversions. Previously, we would end up collapsing qualification conversions into the Objective-C pointer conversion step, including (possibly) stripping qualifiers that shouldn't be removed. This generalizes BuildSimilarlyQualifiedPointerType() to also work on Objective-C object pointers, then eliminates the (redundant, not totally correct) BuildSimilarlyQualifiedObjCObjectPointerType() function. Fixes <rdar://problem/8714395>. llvm-svn: 120607
-
Ted Kremenek authored
reflects what the class actually does. llvm-svn: 120605
-
Douglas Gregor authored
instantiations, GCC also supports "inline" and "static" explicit template instantiations. Parse and warn about such constructs, but don't implement the semantics of either "inline" or "static". They don't seem to be widely used. llvm-svn: 120599
-
Peter Collingbourne authored
llvm-svn: 120588
-
Douglas Gregor authored
disambiguate between an expression (for a bit-field width) and a type (for a fixed underlying type). Since the disambiguation can be expensive (due to tentative parsing), we perform a simplistic disambiguation based on one-token lookahead before going into the full-blown tentative parsing. Based on a patch by Daniel Wallin. llvm-svn: 120582
-
Douglas Gregor authored
redeclaration of an enum type differs from that of the original declaration, from Daniel Wallin llvm-svn: 120577
-
Douglas Gregor authored
AST printing for scoped enumerations and enumerations with a fixed underlying type, from Daniel Wallin llvm-svn: 120576
-
John McCall authored
llvm-svn: 120562
-
John McCall authored
llvm-svn: 120555
-
Nick Lewycky authored
llvm-svn: 120554
-
Peter Collingbourne authored
llvm-svn: 120545
-
Peter Collingbourne authored
llvm-svn: 120544
-
Dan Gohman authored
specified a syntactically invalid path, it's better to let the OS diagnose the problem than to silently skip it. llvm-svn: 120542
-
Chris Lattner authored
http://llvm.org/bugs/show_bug.cgi?id=279#c3 better. No functionality change yet. llvm-svn: 120530
-
Rafael Espindola authored
llvm-svn: 120528
-
Chris Lattner authored
using ConstantInt::get. llvm-svn: 120527
-
Douglas Gregor authored
llvm-svn: 120523
-
Fariborz Jahanian authored
'Class' type, disgnostic should refere to a class method. Fixes // rdar://8592156 llvm-svn: 120517
-
John McCall authored
refer to opaque types, they must be held via PATypeHolders. I'm not sure why this hasn't blown up before. llvm-svn: 120491
-
John McCall authored
llvm-svn: 120489
-
Fariborz Jahanian authored
literal declaration caused crash in CodeGen. This patch fixes it. pr8707 llvm-svn: 120486
-
- Nov 30, 2010
-
-
Argyrios Kyrtzidis authored
Follow through references to catch returned stack addresses, local blocks, label addresses or references to temporaries, e.g: const int& g2() { int s1; int &s2 = s1; // expected-note {{binding reference variable 's2' here}} return s2; // expected-warning {{reference to stack memory associated with local variable 's1' returned}} } llvm-svn: 120483
-
Douglas Gregor authored
declarations. llvm-svn: 120448
-
Douglas Gregor authored
llvm-svn: 120446
-
John McCall authored
llvm-svn: 120433
-
Fariborz Jahanian authored
a specific language. We are adding such language info. by extensing Builtins.def and via a language flag added to LIBBUILTIN/BUILTIN and check for that when deciding a name is builtin or not. Implements //rdar://8689273. llvm-svn: 120429
-
John McCall authored
about the reliability of this yet. llvm-svn: 120422
-
John McCall authored
llvm-svn: 120421
-
Nick Lewycky authored
Doug isn't likely to rip back out. llvm-svn: 120409
-
Douglas Gregor authored
llvm-svn: 120402
-
Douglas Gregor authored
Harden CGDebugInfo::CreateType() a bit for cases where we couldn't generate type info for its component types llvm-svn: 120401
-
Douglas Gregor authored
trap the serialized preprocessing records (macro definitions, macro instantiations, macro definitions) from the generation of the precompiled preamble, then replay those when walking the list of preprocessed entities. This eliminates a bug where clang_getCursor() wasn't able to find preprocessed-entity cursors in the preamble. llvm-svn: 120396
-
Douglas Gregor authored
precompiled preamble as the "main" source file's file ID within the source manager. This makes compiling with a precompiled preamble produce the same source locations as when compiling without the precompiled preamble; prior to this change, we ended up with different file IDs for source locations within the precompiled preamble vs. those after the precompiled preamble, even for entities (e.g., preprocessing entities) in the same file. llvm-svn: 120390
-
Nico Weber authored
llvm-svn: 120389
-
John McCall authored
a non-dependent type. llvm-svn: 120384
-
Nick Lewycky authored
Type.cpp:1000: warning: control reaches end of non-void function llvm-svn: 120376
-
Argyrios Kyrtzidis authored
llvm-svn: 120351
-
Fariborz Jahanian authored
when checking for integer signed/unsigned-ness. PR8694, // rdar://8707031 llvm-svn: 120345
-
- Nov 29, 2010
-
-
Argyrios Kyrtzidis authored
The issue was brought to our attention by Matthieu Monrocq. llvm-svn: 120331
-
Nico Weber authored
Always use a function's decl context when building default arguments. Fixes http://http://llvm.org/pr8479. llvm-svn: 120299
-