Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Switch the C++11 status table from a developer-centric list to a | Douglas Gregor | 2011-10-14 | 1 | -587/+318 |
| | | | | | | | user-centric list, with Clang version numbers, following GCC's lead (and user requests). llvm-svn: 142015 | ||||
* | Attempt to fix Windows buildbot, round 2. | Eli Friedman | 2011-10-14 | 1 | -1/+1 |
| | | | | llvm-svn: 142014 | ||||
* | Add template instantiation support for AtomicExpr. | Eli Friedman | 2011-10-14 | 5 | -80/+75 |
| | | | | llvm-svn: 142012 | ||||
* | Teach the ASTImporter not to import redundant fields. | Douglas Gregor | 2011-10-14 | 2 | -50/+105 |
| | | | | llvm-svn: 142009 | ||||
* | Attempt to fix buildbot failure on Windows. | Eli Friedman | 2011-10-14 | 1 | -1/+2 |
| | | | | llvm-svn: 142008 | ||||
* | vfork comes from unistd.h | Joerg Sonnenberger | 2011-10-14 | 1 | -1/+1 |
| | | | | llvm-svn: 142007 | ||||
* | Allow calling ASTUnit::LoadFromCompilerInvocationAction with a previously ↵ | Argyrios Kyrtzidis | 2011-10-14 | 2 | -14/+23 |
| | | | | | | created ASTUnit. llvm-svn: 142004 | ||||
* | Misc fixes for atomics. Biggest fix is doing alignment correctly for ↵ | Eli Friedman | 2011-10-14 | 8 | -16/+53 |
| | | | | | | _Atomic types. llvm-svn: 142002 | ||||
* | -Wc++98-compat: warn on C++11 attributes and alignas. | Richard Smith | 2011-10-14 | 3 | -1/+12 |
| | | | | llvm-svn: 141999 | ||||
* | Test for r141985. | Richard Smith | 2011-10-14 | 1 | -0/+10 |
| | | | | llvm-svn: 141998 | ||||
* | Don't try to diagnose anything when we're passing incomplete types | Douglas Gregor | 2011-10-14 | 3 | -2/+17 |
| | | | | | | | | through varargs. This only happens when we're in an unevaluated context, where we don't want to trigger an error anyway. Fixes PR11131 / <rdar://problem/10288375>. llvm-svn: 141986 | ||||
* | Reinstate r141898 (reverted in r141921), without the ↵ | Richard Smith | 2011-10-14 | 4 | -6/+18 |
| | | | | | | | | -Wc++98-compat-variadic-templates flag. Consensus is that -Wc++98-compat is a useful addition to clang, but per-C++11-feature warnings may not be. Original patch by Jeffrey Yasskin. llvm-svn: 141985 | ||||
* | Refactor static analyzer to use simpler interface to constant expression ↵ | Richard Smith | 2011-10-14 | 2 | -42/+17 |
| | | | | | | evaluation. llvm-svn: 141983 | ||||
* | [temp.explicit]p1: constexpr cannot be specified in explicit instantiations. | Richard Smith | 2011-10-14 | 3 | -5/+15 |
| | | | | llvm-svn: 141982 | ||||
* | Fix the CXX_INCLUDE_ROOT case that was out of date with ScanLibDirForGCCTriple. | Rafael Espindola | 2011-10-14 | 1 | -1/+1 |
| | | | | llvm-svn: 141980 | ||||
* | Harden test for windows paths. | Benjamin Kramer | 2011-10-14 | 1 | -1/+1 |
| | | | | llvm-svn: 141973 | ||||
* | Change operator<< for raw_ostream and NamedDecl to take a reference instead ↵ | Benjamin Kramer | 2011-10-14 | 30 | -118/+115 |
| | | | | | | | | of a pointer. Passing a pointer was a bad idea as it collides with the overload for void*. llvm-svn: 141971 | ||||
* | Simplify code to avoid a useless string copy. | Benjamin Kramer | 2011-10-14 | 1 | -6/+4 |
| | | | | llvm-svn: 141970 | ||||
* | Upgrade to PathV2. | Benjamin Kramer | 2011-10-14 | 1 | -5/+5 |
| | | | | llvm-svn: 141969 | ||||
* | Add parens to pacify GCC. | Benjamin Kramer | 2011-10-14 | 1 | -2/+2 |
| | | | | llvm-svn: 141968 | ||||
* | Fix misplaced comment. | Fariborz Jahanian | 2011-10-14 | 1 | -3/+3 |
| | | | | llvm-svn: 141967 | ||||
* | Make value kind based on the return type of the getter, not | Fariborz Jahanian | 2011-10-14 | 1 | -4/+4 |
| | | | | | | | property type, for when getter may be a reference type. // rdar://10188258 revised. llvm-svn: 141966 | ||||
* | [PCH] Serialize info about redeclared objc methods. | Argyrios Kyrtzidis | 2011-10-14 | 5 | -5/+26 |
| | | | | llvm-svn: 141964 | ||||
* | Add flags for the remaining shift related warnings | Joerg Sonnenberger | 2011-10-14 | 2 | -5/+5 |
| | | | | | | (-Wshift-count-negative, -Wshift-count-overflow). llvm-svn: 141962 | ||||
* | objc-arc: Improve arc diagnostic when method is not | Fariborz Jahanian | 2011-10-14 | 2 | -2/+18 |
| | | | | | | found in receiver's class. // rdar://9970739 llvm-svn: 141961 | ||||
* | Add __nodebug__ attribute to functions in arm_neon.h | Bob Wilson | 2011-10-14 | 1 | -1/+1 |
| | | | | | | This matches what we do for Intel vector intrinsics. <rdar://problem/10280207> llvm-svn: 141958 | ||||
* | Under ARC, merge the bit corresponding to the ns_returns_retained | Douglas Gregor | 2011-10-14 | 3 | -0/+23 |
| | | | | | | | attribute from the first declaration to later declarations. Fixes <rdar://problem/10142572>. llvm-svn: 141957 | ||||
* | Only warn in -Wliteral-conversion if the conversion loses information | Matt Beaumont-Gay | 2011-10-14 | 4 | -35/+14 |
| | | | | llvm-svn: 141955 | ||||
* | When declaring an out-of-line template, attempt to rebuild any types | Douglas Gregor | 2011-10-14 | 4 | -1/+81 |
| | | | | | | | within the template parameter list that may have changed now that we know the current instantiation. Fixes <rdar://problem/10194295>. llvm-svn: 141954 | ||||
* | Added clang_getCompletionAnnotation and clang_getCompletionNumAnnotations to | Erik Verbruggen | 2011-10-14 | 8 | -10/+136 |
| | | | | | | retrieve annotations from completion string. llvm-svn: 141953 | ||||
* | Really protect from infinite loop when there are objc method redeclarations. | Argyrios Kyrtzidis | 2011-10-14 | 4 | -3/+27 |
| | | | | | | Serialization part will come later. llvm-svn: 141950 | ||||
* | Updating the Clang website to refer to C++'11 instead of C++'0x | David Blaikie | 2011-10-14 | 4 | -15/+15 |
| | | | | llvm-svn: 141949 | ||||
* | Keep track of objc method redeclarations in the same interface. | Argyrios Kyrtzidis | 2011-10-14 | 4 | -1/+41 |
| | | | | | | Avoid possible infinite loop when iterating over an ObjCMethod's redeclarations. llvm-svn: 141946 | ||||
* | Use Triple.isOSDarwin() instead of comparing against Triple::Darwin. | Bob Wilson | 2011-10-14 | 5 | -18/+20 |
| | | | | | | | | | 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 | ||||
* | Update open source static analyzer build. | Ted Kremenek | 2011-10-14 | 2 | -1/+14 |
| | | | | llvm-svn: 141943 | ||||
* | Move doxygen comments to pair with the actual values. | Ted Kremenek | 2011-10-14 | 1 | -13/+9 |
| | | | | llvm-svn: 141942 | ||||
* | PR11124: Don't overwrite memory outside of a base class when performing ↵ | Eli Friedman | 2011-10-14 | 4 | -2/+85 |
| | | | | | | zero-initialization before running its constructor. llvm-svn: 141933 | ||||
* | Fix grammaro | Douglas Gregor | 2011-10-14 | 1 | -1/+1 |
| | | | | llvm-svn: 141927 | ||||
* | Add a preprocessor callback that is invoked every time the 'defined' | Douglas Gregor | 2011-10-14 | 2 | -0/+13 |
| | | | | | | operator is seen, from Jason Haslam! llvm-svn: 141926 | ||||
* | Add support for -std=gnu90 and -std=c++03, for compatibility with modern gcc. | Richard Smith | 2011-10-14 | 2 | -1/+8 |
| | | | | llvm-svn: 141922 | ||||
* | Revert the -Wc++98-compat flag because dgregor doesn't like it. | Jeffrey Yasskin | 2011-10-14 | 5 | -34/+6 |
| | | | | llvm-svn: 141921 | ||||
* | objc-arc: 'Class' property is implicitly __unsafe_unretained. | Fariborz Jahanian | 2011-10-13 | 2 | -1/+16 |
| | | | | | | // rdar://10239594 llvm-svn: 141915 | ||||
* | Rename -Wc++0x-compat, -Wc++0x-extensions and -Wc++0x-narrowing from c++0x to | Richard Smith | 2011-10-13 | 6 | -33/+38 |
| | | | | | | | 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 | ||||
* | Fix a test case where FileCheck is used to test code corrected by -fixit. | Richard Trieu | 2011-10-13 | 1 | -1/+1 |
| | | | | | | | | If the code file is not run through the preproccessor to remove comments, then FileCheck will match the strings within the CHECK commands rendering the test useless. llvm-svn: 141911 | ||||
* | Convert newly-added test from -std=c++0x to -std=c++11. | Richard Smith | 2011-10-13 | 1 | -1/+1 |
| | | | | llvm-svn: 141904 | ||||
* | Extend -Wno-sizeof-array-argument to strncpy and friends. | Nico Weber | 2011-10-13 | 3 | -5/+74 |
| | | | | | | This finds 2 bugs in chromium and 1 in hunspell, with 0 false positives. llvm-svn: 141902 | ||||
* | Update all tests other than Driver/std.cpp to use -std=c++11 rather than | Richard Smith | 2011-10-13 | 329 | -371/+371 |
| | | | | | | -std=c++0x. Patch by Ahmed Charles! llvm-svn: 141900 | ||||
* | Implement the first piece of a -Wc++98-compat flag so that people can build in | Jeffrey Yasskin | 2011-10-13 | 5 | -6/+35 |
| | | | | | | | | 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 | ||||
* | Recommit: | Eric Christopher | 2011-10-13 | 10 | -150/+124 |
| | | | | | | | | | | | | | | | 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 | ||||
* | Add test for new -std=c++11 and -std=gnu++11 command-line arguments. | Richard Smith | 2011-10-13 | 1 | -0/+23 |
| | | | | llvm-svn: 141891 |