summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
* Switch the C++11 status table from a developer-centric list to aDouglas Gregor2011-10-141-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 Friedman2011-10-141-1/+1
| | | | llvm-svn: 142014
* Add template instantiation support for AtomicExpr.Eli Friedman2011-10-145-80/+75
| | | | llvm-svn: 142012
* Teach the ASTImporter not to import redundant fields.Douglas Gregor2011-10-142-50/+105
| | | | llvm-svn: 142009
* Attempt to fix buildbot failure on Windows.Eli Friedman2011-10-141-1/+2
| | | | llvm-svn: 142008
* vfork comes from unistd.hJoerg Sonnenberger2011-10-141-1/+1
| | | | llvm-svn: 142007
* Allow calling ASTUnit::LoadFromCompilerInvocationAction with a previously ↵Argyrios Kyrtzidis2011-10-142-14/+23
| | | | | | created ASTUnit. llvm-svn: 142004
* Misc fixes for atomics. Biggest fix is doing alignment correctly for ↵Eli Friedman2011-10-148-16/+53
| | | | | | _Atomic types. llvm-svn: 142002
* -Wc++98-compat: warn on C++11 attributes and alignas.Richard Smith2011-10-143-1/+12
| | | | llvm-svn: 141999
* Test for r141985.Richard Smith2011-10-141-0/+10
| | | | llvm-svn: 141998
* Don't try to diagnose anything when we're passing incomplete typesDouglas Gregor2011-10-143-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 Smith2011-10-144-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 Smith2011-10-142-42/+17
| | | | | | evaluation. llvm-svn: 141983
* [temp.explicit]p1: constexpr cannot be specified in explicit instantiations.Richard Smith2011-10-143-5/+15
| | | | llvm-svn: 141982
* Fix the CXX_INCLUDE_ROOT case that was out of date with ScanLibDirForGCCTriple.Rafael Espindola2011-10-141-1/+1
| | | | llvm-svn: 141980
* Harden test for windows paths.Benjamin Kramer2011-10-141-1/+1
| | | | llvm-svn: 141973
* Change operator<< for raw_ostream and NamedDecl to take a reference instead ↵Benjamin Kramer2011-10-1430-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 Kramer2011-10-141-6/+4
| | | | llvm-svn: 141970
* Upgrade to PathV2.Benjamin Kramer2011-10-141-5/+5
| | | | llvm-svn: 141969
* Add parens to pacify GCC.Benjamin Kramer2011-10-141-2/+2
| | | | llvm-svn: 141968
* Fix misplaced comment.Fariborz Jahanian2011-10-141-3/+3
| | | | llvm-svn: 141967
* Make value kind based on the return type of the getter, notFariborz Jahanian2011-10-141-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 Kyrtzidis2011-10-145-5/+26
| | | | llvm-svn: 141964
* Add flags for the remaining shift related warningsJoerg Sonnenberger2011-10-142-5/+5
| | | | | | (-Wshift-count-negative, -Wshift-count-overflow). llvm-svn: 141962
* objc-arc: Improve arc diagnostic when method is notFariborz Jahanian2011-10-142-2/+18
| | | | | | found in receiver's class. // rdar://9970739 llvm-svn: 141961
* Add __nodebug__ attribute to functions in arm_neon.hBob Wilson2011-10-141-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_retainedDouglas Gregor2011-10-143-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 informationMatt Beaumont-Gay2011-10-144-35/+14
| | | | llvm-svn: 141955
* When declaring an out-of-line template, attempt to rebuild any typesDouglas Gregor2011-10-144-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 toErik Verbruggen2011-10-148-10/+136
| | | | | | retrieve annotations from completion string. llvm-svn: 141953
* Really protect from infinite loop when there are objc method redeclarations.Argyrios Kyrtzidis2011-10-144-3/+27
| | | | | | Serialization part will come later. llvm-svn: 141950
* Updating the Clang website to refer to C++'11 instead of C++'0xDavid Blaikie2011-10-144-15/+15
| | | | llvm-svn: 141949
* Keep track of objc method redeclarations in the same interface.Argyrios Kyrtzidis2011-10-144-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 Wilson2011-10-145-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 Kremenek2011-10-142-1/+14
| | | | llvm-svn: 141943
* Move doxygen comments to pair with the actual values.Ted Kremenek2011-10-141-13/+9
| | | | llvm-svn: 141942
* PR11124: Don't overwrite memory outside of a base class when performing ↵Eli Friedman2011-10-144-2/+85
| | | | | | zero-initialization before running its constructor. llvm-svn: 141933
* Fix grammaroDouglas Gregor2011-10-141-1/+1
| | | | llvm-svn: 141927
* Add a preprocessor callback that is invoked every time the 'defined'Douglas Gregor2011-10-142-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 Smith2011-10-142-1/+8
| | | | llvm-svn: 141922
* Revert the -Wc++98-compat flag because dgregor doesn't like it.Jeffrey Yasskin2011-10-145-34/+6
| | | | llvm-svn: 141921
* objc-arc: 'Class' property is implicitly __unsafe_unretained.Fariborz Jahanian2011-10-132-1/+16
| | | | | | // rdar://10239594 llvm-svn: 141915
* Rename -Wc++0x-compat, -Wc++0x-extensions and -Wc++0x-narrowing from c++0x toRichard Smith2011-10-136-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 Trieu2011-10-131-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 Smith2011-10-131-1/+1
| | | | llvm-svn: 141904
* Extend -Wno-sizeof-array-argument to strncpy and friends.Nico Weber2011-10-133-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 thanRichard Smith2011-10-13329-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 inJeffrey Yasskin2011-10-135-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 Christopher2011-10-1310-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 Smith2011-10-131-0/+23
| | | | llvm-svn: 141891
OpenPOWER on IntegriCloud