- Oct 14, 2011
-
-
Benjamin Kramer authored
Passing a pointer was a bad idea as it collides with the overload for void*. llvm-svn: 141971
-
Benjamin Kramer authored
llvm-svn: 141970
-
Benjamin Kramer authored
llvm-svn: 141969
-
Benjamin Kramer authored
llvm-svn: 141968
-
Fariborz Jahanian authored
llvm-svn: 141967
-
Fariborz Jahanian authored
property type, for when getter may be a reference type. // rdar://10188258 revised. llvm-svn: 141966
-
Argyrios Kyrtzidis authored
llvm-svn: 141964
-
Douglas Gregor authored
attribute from the first declaration to later declarations. Fixes <rdar://problem/10142572>. llvm-svn: 141957
-
Matt Beaumont-Gay authored
llvm-svn: 141955
-
Douglas Gregor authored
within the template parameter list that may have changed now that we know the current instantiation. Fixes <rdar://problem/10194295>. llvm-svn: 141954
-
Erik Verbruggen authored
retrieve annotations from completion string. llvm-svn: 141953
-
Argyrios Kyrtzidis authored
Serialization part will come later. llvm-svn: 141950
-
Argyrios Kyrtzidis authored
Avoid possible infinite loop when iterating over an ObjCMethod's redeclarations. llvm-svn: 141946
-
Bob Wilson authored
There are now separate Triple::MacOSX and Triple::IOS values for the OS so comparing against Triple::Darwin will fail to match those. Note that I changed the expected output for the Driver/rewrite-objc.m test, which had previously not been passing Darwin-specific options with the macosx triple. llvm-svn: 141944
-
Eli Friedman authored
PR11124: Don't overwrite memory outside of a base class when performing zero-initialization before running its constructor. llvm-svn: 141933
-
Douglas Gregor authored
operator is seen, from Jason Haslam! llvm-svn: 141926
-
Jeffrey Yasskin authored
llvm-svn: 141921
-
Fariborz Jahanian authored
// rdar://10239594 llvm-svn: 141915
-
Richard Smith authored
c++11. The old names are kept for backwards-compatibility. Patch by Ahmed Charles! Names for backwards-compatible DiagGroups removed by me. llvm-svn: 141913
-
Nico Weber authored
This finds 2 bugs in chromium and 1 in hunspell, with 0 false positives. llvm-svn: 141902
-
Jeffrey Yasskin authored
C++11 mode but keep their sources compatible with C++98. This patch implements the -Wc++98-compat-variadic-templates sub-flag and -Wc++98-compat to include it. llvm-svn: 141898
-
- Oct 13, 2011
-
-
Eric Christopher authored
Start handling debug line and scope information better: Migrate most of the location setting within the larger API in CGDebugInfo and update a lot of callers. Remove the existing file/scope change machinery in UpdateLineDirectiveRegion and replace it with DILexicalBlockFile usage. Finishes off the rest of rdar://10246360 after fixing a few bugs that were exposed in gdb testsuite testing. llvm-svn: 141893
-
Benjamin Kramer authored
llvm-svn: 141887
-
Ted Kremenek authored
Tweak -Wuninitialized's handling of 'int x = x' to report that as the root cause of an uninitialized variable IFF there are other uses of that uninitialized variable. Fixes <rdar://problem/9259237>. llvm-svn: 141881
-
Douglas Gregor authored
llvm-svn: 141878
-
Douglas Gregor authored
functions, e.g., (&f)(0). Fixes <rdar://problem/9803316>. llvm-svn: 141877
-
Peter Collingbourne authored
Patch by Pekka Jääskeläinen! llvm-svn: 141865
-
Erik Verbruggen authored
attributes are found, propagate them to subsequent declarations. llvm-svn: 141861
-
David Blaikie authored
Fix crash-on-invalid, improve error recovery, and test coverage for missing colon after access specifiers in C++ llvm-svn: 141852
-
- Oct 12, 2011
-
-
Douglas Gregor authored
part of template argument deduction is ill-formed, we mark it as invalid and treat it as a deduction failure. If we happen to find that specialization again, treat it as a deduction failure rather than silently building a call to the declaration. Fixes PR11117, a marvelous bug where deduction failed after creating an invalid specialization, causing overload resolution to pick a different candidate. Then we performed a similar overload resolution later, and happily picked the invalid specialization to call... resulting in a silent link failure. llvm-svn: 141809
-
Bob Wilson authored
This changes clang to match GCC's behavior for __extension__, which temporarily disables the -pedantic flag. Warnings that are enabled without -pedantic are not affected. Besides the general goodness of matching GCC's precedent, my motivation for this is that macros in the arm_neon.h header need to use __extension__ to avoid pedantic complaints about their use of statement expressions, yet we still want to warn about incompatible pointer arguments for those macros. llvm-svn: 141804
-
Rafael Espindola authored
the same behavior of gcc by keeping the attribute out of the function type. llvm-svn: 141803
-
Ted Kremenek authored
Implement built-in macro '__has_warning', which allows one to query if a warning flag is valid. Fixes <rdar://problem/10263428>. llvm-svn: 141802
-
Douglas Gregor authored
llvm-svn: 141798
-
Eric Christopher authored
llvm-svn: 141796
-
Douglas Gregor authored
llvm-svn: 141795
-
Ted Kremenek authored
llvm-svn: 141793
-
Argyrios Kyrtzidis authored
fixes http://llvm.org/PR11120 llvm-svn: 141788
-
Douglas Gregor authored
delimiter pairs and detect when we exceed the implementation limit for nesting depth, from Aaron Ballman! llvm-svn: 141782
-
Douglas Gregor authored
ignore access entirely for it) and not to crash on assignment operator templates. Fixes PR11110. llvm-svn: 141777
-