- May 21, 2011
-
-
Douglas Gregor authored
PR9973 / <rdar://problem/9479191>. llvm-svn: 131810
-
Douglas Gregor authored
non-POD/non-trivial object throuugh a C-style varargs. The warning itself was default-mapped to error, but can be downgraded, but we were treating it in Sema like a hard error, silently dropping the call. Instead, treat this problem like a warning, and do what the warning says we do: abort at runtime. To do so, we fake up a __builtin_trap() expression that gets evaluated as part of the argument. llvm-svn: 131805
-
Douglas Gregor authored
instantiations and specializations. Fixes <rdar://problem/9126453> and PR8700. llvm-svn: 131802
-
Douglas Gregor authored
should use a constructor to default-initialize a variable. InitializationSequence knows the rules for default initialization, better. Fixes <rdar://problem/8501008>. llvm-svn: 131796
-
Douglas Gregor authored
prints the file, line, and column of a diagnostic. We currently support Clang's normal format, MSVC, and Vi formats. Note that we no longer change the diagnostic format based on -fms-extensions. Patch by Andrew Fish! llvm-svn: 131794
-
Douglas Gregor authored
llvm-svn: 131792
-
-
Ted Kremenek authored
Fix regression in static analyzer's handling of prefix '--' operator. It was being treated as postfix '--' in C mode. llvm-svn: 131770
-
- May 20, 2011
-
-
Alexis Hunt authored
This case is tested by the fact that the modified test produces significatly worse diagnostics. That's on the list. llvm-svn: 131759
-
Sebastian Redl authored
llvm-svn: 131754
-
Douglas Gregor authored
Type::isUnsignedIntegerOrEnumerationType(), which are like Type::isSignedIntegerType() and Type::isUnsignedIntegerType() but also consider the underlying type of a C++0x scoped enumeration type. Audited all callers to the existing functions, switching those that need to also handle scoped enumeration types (e.g., those that deal with constant values) over to the new functions. Fixes PR9923 / <rdar://problem/9447851>. llvm-svn: 131735
-
Douglas Gregor authored
to a warning, since apparently libstdc++'s debug mode does this (and we can recover safely). Add a Fix-It to insert the "inline", just for kicks. llvm-svn: 131732
-
Douglas Gregor authored
manifested in a crash with blocks in PR9953, but it was a ticking time bomb for normal functions, too. Fixes PR9953. llvm-svn: 131731
-
Douglas Gregor authored
llvm-svn: 131728
-
Sebastian Redl authored
llvm-svn: 131722
-
Matt Beaumont-Gay authored
llvm-svn: 131706
-
Ted Kremenek authored
llvm-svn: 131702
-
Devang Patel authored
llvm-svn: 131701
-
Alexis Hunt authored
template case. llvm-svn: 131692
-
Eli Friedman authored
llvm-svn: 131691
-
- May 19, 2011
-
-
Alexis Hunt authored
llvm-svn: 131672
-
Alexis Hunt authored
llvm-svn: 131670
-
Sebastian Redl authored
llvm-svn: 131640
-
Sebastian Redl authored
Reapply r121528, fixing PR9941 by delaying the exception specification check for destructors until the class is complete and destructors have been adjusted. llvm-svn: 131632
-
Ted Kremenek authored
llvm-svn: 131614
-
Eli Friedman authored
llvm-svn: 131611
-
- May 18, 2011
-
-
Alexis Hunt authored
other things, libcxx not building. llvm-svn: 131573
-
Sebastian Redl authored
llvm-svn: 131528
-
Alexis Hunt authored
member functions by making sure that they're on the record before checking for deletion. Also make sure source locations are valid to avoid crashes. Unfortunately, the declare-all-implicit-members approach is still required in order to ensure that dependency loops do not result in incorrectly deleting functions (since they are to be deleted at the declaration point per the standard). Fixes PR9917 llvm-svn: 131520
-
Fariborz Jahanian authored
user specified string class via -fconstant-string-class option. pr9914. llvm-svn: 131496
-
- May 17, 2011
-
-
Eli Friedman authored
For calls returning first-class aggregates, store by element instead of creating aggregate stores in common cases. This is more friendly to fast-isel. llvm-svn: 131490
-
John McCall authored
optimization for abstract classes; there was a misunderstanding, and it turns out that there are no kexts which rely on this. llvm-svn: 131489
-
Alexis Hunt authored
constructors, including two more FIXMEs (one of which I don't actually understand). llvm-svn: 131487
-
Alexis Hunt authored
I have on that's #if 0'ed out, and I don't know why it's failing to delete the constructor. I'd appreciate if someone familiar with access control could look into ShouldDeleteDefaultConstructor - thanks. llvm-svn: 131486
-
Rafael Espindola authored
darwin assembler can handle cfi. Add a test. llvm-svn: 131464
-
Argyrios Kyrtzidis authored
llvm-svn: 131446
-
Alexis Hunt authored
suppress an error we were previously emitting on valid union code. llvm-svn: 131440
-
Ted Kremenek authored
llvm-svn: 131435
-
John McCall authored
reasons that honestly really, really need to be looked into. llvm-svn: 131434
-
Alexis Hunt authored
my defaulted constructor tests stop yelling at me about them. llvm-svn: 131432
-