- Apr 24, 2012
-
-
Chandler Carruth authored
llvm-svn: 155427
-
Richard Smith authored
class; we would never actually parse it and attach it to the type. llvm-svn: 155426
-
Chandler Carruth authored
header, along with a stub test to make sure it compiles in the appropriate modes. Thanks to Aaron Ballman for working with me to figure out the initial strategy here, and to Nico for reviewing and pestering me to actually commit it. llvm-svn: 155425
-
Richard Smith authored
exception specification to a function. llvm-svn: 155424
-
- Apr 23, 2012
-
-
Fariborz Jahanian authored
location. // rdar://10893232 llvm-svn: 155385
-
Eric Christopher authored
find forward declarations in the context that the actual definition will occur. rdar://11291658 llvm-svn: 155381
-
DeLesley Hutchins authored
on smart pointers. Also adds test case for previous commit. llvm-svn: 155379
-
Chandler Carruth authored
test suite failures. llvm-svn: 155371
-
Rafael Espindola authored
argument list. llvm-svn: 155368
-
Sirish Pande authored
llvm-svn: 155363
-
DeLesley Hutchins authored
existentially quantified lock expressions. llvm-svn: 155357
-
Douglas Gregor authored
<rdar://problem/11284902>. llvm-svn: 155356
-
Rafael Espindola authored
llvm-svn: 155352
-
- Apr 22, 2012
-
-
Benjamin Kramer authored
Found by valgrind. llvm-svn: 155324
-
Benjamin Kramer authored
Remove unnecessary StringRef->char*->StringRef conversion, which read uninitialized memory if the input wasn't 0-terminated. Found by valgrind. llvm-svn: 155323
-
Rafael Espindola authored
the tempale arguments in deciding the visibility. This agrees with gcc 4.7. Found by trying to build chrome with component=shared_library with 155314 reverted. llvm-svn: 155316
-
Richard Smith authored
type llvm::ArrayType -- sometimes we emit them as packed structs. Don't assert if such a global array has an element type with a non-trivial destructor. llvm-svn: 155305
-
Richard Smith authored
pretend there was no previous declaration -- that can lead us to injecting a class template (with no access specifier) into a class scope. Instead, just avoid the problematic checks. llvm-svn: 155303
-
Rafael Espindola authored
with this testcase. llvm-svn: 155301
-
Rafael Espindola authored
a boolean. llvm-svn: 155299
-
- Apr 21, 2012
-
-
Richard Smith authored
exception specifications in C++11 until after we've parsed the exception specifications for nested classes. llvm-svn: 155293
-
Fariborz Jahanian authored
llvm-svn: 155290
-
Richard Smith authored
test by me. llvm-svn: 155289
-
Nuno Lopes authored
llvm-svn: 155282
-
NAKAMURA Takumi authored
llvm-svn: 155279
-
Matt Beaumont-Gay authored
llvm-svn: 155274
-
Richard Smith authored
declaration of the same name. r155187 caused us to miss this if the prior declaration did not declare a type. llvm-svn: 155269
-
Matt Beaumont-Gay authored
Set the source location for the "member reference base type ... is not a structure or union" diag to point at the operator rather than the member name. If we're giving this diagnostic because of a typo'd '.' in place of a ';' at the end of a line, the caret previously pointed at the identifier on the following line, which isn't as helpful as it could be. Pointing the caret at the '.' makes it more obvious what the problem is. llvm-svn: 155267
-
rdar://10976177Bob Wilson authored
The check for excluding libarclite on i386 MacOSX should not apply to Foundation. llvm-svn: 155263
-
Fariborz Jahanian authored
objc_returns_inner_pointer attribute can be applied to methods only. Diagnsose otherwise, instead of crashing. // rdar://11253688 llvm-svn: 155245
-
- Apr 20, 2012
-
-
Anna Zaks authored
This is needed to ensure that we always report issues in the correct function. For example, leaks are identified when we call remove dead bindings. In order to make sure we report a callee's leak in the callee, we have to run the operation in the callee's context. This change required quite a bit of infrastructure work since: - We used to only run remove dead bindings before a given statement; here we need to run it after the last statement in the function. For this, we added additional Program Point and special mode in the SymbolReaper to remove all symbols in context lower than the current one. - The call exit operation turned into a sequence of nodes, which are now guarded by CallExitBegin and CallExitEnd nodes for clarity and convenience. (Sorry for the long diff.) llvm-svn: 155244
-
Chad Rosier authored
overwriting the input file. For example, clang -c foo.s -o foo.o -save-temps Unfortunately, the original patch didn't compare the paths of the input and output files. Thus, something like the following would fail to create foo.s. cd /tmp/obj clang -c ../src/foo.s -o foo.o -save-temps rdar://11252615 llvm-svn: 155224
-
Richard Smith authored
non-const reference parameter type if the class had any subobjects with deleted copy constructors. This causes a rejects-valid if the class's copy constructor is explicitly defaulted (as happens for some implementations of std::pair etc). llvm-svn: 155218
-
Chad Rosier authored
Add a FIXME comment. rdar://11283560 llvm-svn: 155207
-
Chad Rosier authored
tested. llvm-svn: 155205
-
Evgeniy Stepanov authored
llvm-svn: 155191
-
Timur Iskhodzhanov authored
Fix bug 12574 - Avoid infinite recursion in constructors and destructors when using Microsoft C++ ABI llvm-svn: 155189
-
Richard Smith authored
up an elaborated type specifier in a friend declaration, only look for type declarations, per [basic.lookup.elab]p2. If we know that the redeclaration lookup for a friend class template in a dependent context finds a non-template, don't delay the diagnostic to instantiation time. llvm-svn: 155187
-
Richard Smith authored
llvm-svn: 155185
-
Chad Rosier authored
flags. We have preprocessed source, so we don't need these. No test case as it's fairly difficult to make the compiler crash on demand. I'll patiently wait for Ben to tell me how to do this in 2 lines of code. :) rdar://11283560 llvm-svn: 155180
-