]> granicus.if.org Git - clang/log
clang
9 years agoAdd SourceManager::dump() to dump the current set of SLocEntries.
Richard Smith [Thu, 13 Aug 2015 00:45:11 +0000 (00:45 +0000)]
Add SourceManager::dump() to dump the current set of SLocEntries.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244852 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoWdeprecated: LambdaScopeInfos need to be copied, so make the ScopeInfo hierarchy...
David Blaikie [Wed, 12 Aug 2015 23:59:02 +0000 (23:59 +0000)]
Wdeprecated: LambdaScopeInfos need to be copied, so make the ScopeInfo hierarchy safely copyable

Making the base class's copy ctor protected and the derived classes
final to avoid any slicing-prone APIs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244843 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoWdeprecated: ApplyDebugLocation is returned by value yet if it is ever copied (rather...
David Blaikie [Wed, 12 Aug 2015 23:49:57 +0000 (23:49 +0000)]
Wdeprecated: ApplyDebugLocation is returned by value yet if it is ever copied (rather than RVO'd) that would be broken, make it movable instead

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244838 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoWdeprecated: CGBuilderInserter is copy constructed in some contexts - remove the...
David Blaikie [Wed, 12 Aug 2015 23:16:55 +0000 (23:16 +0000)]
Wdeprecated: CGBuilderInserter is copy constructed in some contexts - remove the unnecessarily disabling copy assignment to enable this

The object has very simple state, there seems no reason to disallow all
the usual value semantic operations.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244831 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago-Wdeprecated: Job objects are stored in a vector yet are not really copyable, make...
David Blaikie [Wed, 12 Aug 2015 23:09:24 +0000 (23:09 +0000)]
-Wdeprecated: Job objects are stored in a vector yet are not really copyable, make them movable instead

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244829 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago-Wdeprecated: SavedInstanceContext is returned by value but isn't really copyable...
David Blaikie [Wed, 12 Aug 2015 22:58:10 +0000 (22:58 +0000)]
-Wdeprecated: SavedInstanceContext is returned by value but isn't really copyable, but it can be made movable

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244826 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[modules] If loading a .pcm file would cause us to run out of source locations, attem...
Richard Smith [Wed, 12 Aug 2015 22:25:24 +0000 (22:25 +0000)]
[modules] If loading a .pcm file would cause us to run out of source locations, attempt to fail more gracefully. (No test; this requires >= 4GB of preprocessed input...)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244822 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoRevert "Implement poisoning of only class members in dtor, as opposed to also poisoni...
Naomi Musgrave [Wed, 12 Aug 2015 22:07:24 +0000 (22:07 +0000)]
Revert "Implement poisoning of only class members in dtor, as opposed to also poisoning fields inherited from base classes."

This reverts commit 8dbbf3578a9a5d063232b59e558e5fe46e2cd42c.
Rolled back due to buildbot failures on 'ninja check-clang'.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244820 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoImplement poisoning of only class members in dtor, as opposed to also poisoning field...
Naomi Musgrave [Wed, 12 Aug 2015 21:37:40 +0000 (21:37 +0000)]
Implement poisoning of only class members in dtor, as opposed to also poisoning fields inherited from base classes.
Verify emitted code for derived class with virtual destructor sanitizes its members only once.
Changed emission order for dtor callback, so only the last dtor for a class emits the sanitizing callback, while ensuring that class members are poisoned before base class destructors are invoked.
Skip poisoning of members, if class has no fields.
Removed patch file containing extraneous changes.

Summary: Poisoning applied to only class members, and before dtors for base class invoked

Reviewers: eugenis, kcc

Differential Revision: http://reviews.llvm.org/D11951

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244819 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoSwitching from an explicit loop to DeleteContainerSeconds; NFC.
Aaron Ballman [Wed, 12 Aug 2015 20:05:18 +0000 (20:05 +0000)]
Switching from an explicit loop to DeleteContainerSeconds; NFC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244802 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoDocs: keep copyright years up-to-date
Hans Wennborg [Wed, 12 Aug 2015 19:45:01 +0000 (19:45 +0000)]
Docs: keep copyright years up-to-date

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244797 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoOptions.td: Drop trailing space in -fsanitize= help text
Hans Wennborg [Wed, 12 Aug 2015 19:35:05 +0000 (19:35 +0000)]
Options.td: Drop trailing space in -fsanitize= help text

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244795 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoDocs: update clang-cl command-line documentation
Hans Wennborg [Wed, 12 Aug 2015 19:35:01 +0000 (19:35 +0000)]
Docs: update clang-cl command-line documentation

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244794 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoRangRangify some more for loops; NFC.
Aaron Ballman [Wed, 12 Aug 2015 19:00:39 +0000 (19:00 +0000)]
RangRangify some more for loops; NFC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244792 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoDon't compare getArchName() to "tce" as a string. NFC.
Douglas Katzman [Wed, 12 Aug 2015 18:36:12 +0000 (18:36 +0000)]
Don't compare getArchName() to "tce" as a string. NFC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244791 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoStop printing macro backtraces that don't help diagnostics.
Richard Trieu [Wed, 12 Aug 2015 18:24:59 +0000 (18:24 +0000)]
Stop printing macro backtraces that don't help diagnostics.

When displaying the macro backtrace, ignore some of the backtraces that do not
provide extra information to the diagnostic.  Typically, if the problem is
entirely contained within a macro argument, the macro expansion is often not
needed.  Also take into account SourceRange's attached to the diagnostic when
selecting which backtraces to ignore.  Two previous test cases have also been
updated.

Patch by Zhengkai Wu, with minor formatting fixes.

Differential Revision: http://reviews.llvm.org/D11778

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244788 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoReleaseNotes: Small version nbr fix
Hans Wennborg [Wed, 12 Aug 2015 16:40:42 +0000 (16:40 +0000)]
ReleaseNotes: Small version nbr fix

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244761 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoThe alias.c test now requires arm-registered-target
John Brawn [Wed, 12 Aug 2015 15:55:55 +0000 (15:55 +0000)]
The alias.c test now requires arm-registered-target

This should fix a buildbot failure

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244760 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoAdd test for PR24379
John Brawn [Wed, 12 Aug 2015 15:15:27 +0000 (15:15 +0000)]
Add test for PR24379

The fix for this is in LLVM but it depends on how clang handles the alias
attribute, so add a test to the clang tests to make sure everything works
together as expected.

Differential Revision: http://reviews.llvm.org/D11980

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244756 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoThe version of libxml2 required by c-index-test must be at least 2.5.3. Considering...
Aaron Ballman [Wed, 12 Aug 2015 15:01:15 +0000 (15:01 +0000)]
The version of libxml2 required by c-index-test must be at least 2.5.3. Considering that this version was released in 2003, you might think the check a bit ridiculous. Unfortunately, GnuWin32 ships with libxml2 2.4.12, which was released in 2001.

This allows us to have GnuWin32 on the PATH on Windows without causing compilation errors.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244751 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoRangify some for loops; NFC.
Aaron Ballman [Wed, 12 Aug 2015 13:38:59 +0000 (13:38 +0000)]
Rangify some for loops; NFC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244749 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[OPENMP] Fix for http://llvm.org/PR24430: clang hangs on invalid input with openmp...
Alexey Bataev [Wed, 12 Aug 2015 07:10:54 +0000 (07:10 +0000)]
[OPENMP] Fix for http://llvm.org/PR24430: clang hangs on invalid input with openmp directive

Add parsing of openmp directives inside structs/unions in C mode.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244719 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agolibclang: Add period to typedef kind docblock
Saleem Abdulrasool [Wed, 12 Aug 2015 03:21:44 +0000 (03:21 +0000)]
libclang: Add period to typedef kind docblock

All of the other docblocks for the CXCursor_* cursor kind enum values
include documentation that ends with a period. Add a period to the end
of the CXCursor_TypedefDecl documentation to follow this convention.

Patch by Brian Gesiak!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244715 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[modules] Fix thread safety analysis to cope with merging of FieldDecls across modules.
Richard Smith [Wed, 12 Aug 2015 02:17:52 +0000 (02:17 +0000)]
[modules] Fix thread safety analysis to cope with merging of FieldDecls across modules.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244714 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoDeleted old fixme ( ͡° ͜ʖ ͡°)
Piotr Padlewski [Wed, 12 Aug 2015 00:47:19 +0000 (00:47 +0000)]
Deleted old fixme ( ͡° ͜ʖ ͡°)

http://reviews.llvm.org/D11928

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244706 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoUntabify.
Eric Christopher [Tue, 11 Aug 2015 23:17:31 +0000 (23:17 +0000)]
Untabify.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244695 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[modules] When instantiating the contents of an imported CXXRecordDecl, we can
Richard Smith [Tue, 11 Aug 2015 22:00:24 +0000 (22:00 +0000)]
[modules] When instantiating the contents of an imported CXXRecordDecl, we can
emit lexical contents for a declaration for another module. Track which module
those contents came from, and ensure that we only grab the lexical contents
from a single such instantiation.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244682 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[MIPS] Use arch values for lock-free atomic operations
Petar Jovanovic [Tue, 11 Aug 2015 21:27:39 +0000 (21:27 +0000)]
[MIPS] Use arch values for lock-free atomic operations

Let NaClMips32ELTargetInfo inherit arch values for maximum width lock-free
atomic operations.

Differential Revision: http://reviews.llvm.org/D11949

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244675 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[analyzer] Incorrect env variable replaced.
Anton Yartsev [Tue, 11 Aug 2015 21:24:19 +0000 (21:24 +0000)]
[analyzer] Incorrect env variable replaced.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244673 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoAdd an assert to catch lexical decl deserialization bugs.
Richard Smith [Tue, 11 Aug 2015 21:21:20 +0000 (21:21 +0000)]
Add an assert to catch lexical decl deserialization bugs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244671 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoFixing a few C++0x comments to be C++11; NFC.
Aaron Ballman [Tue, 11 Aug 2015 21:17:53 +0000 (21:17 +0000)]
Fixing a few C++0x comments to be C++11; NFC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244670 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoAdd missing documentation for conversionDecl; NFC.
Aaron Ballman [Tue, 11 Aug 2015 21:12:46 +0000 (21:12 +0000)]
Add missing documentation for conversionDecl; NFC.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244669 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoAdd a polymorphic AST matcher for testing whether a constructor or a conversion decla...
Aaron Ballman [Tue, 11 Aug 2015 21:09:52 +0000 (21:09 +0000)]
Add a polymorphic AST matcher for testing whether a constructor or a conversion declaration is marked as explicit or not.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244666 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoAdd an AST matcher to match member intializers of a CXXCtorInitializer.
Aaron Ballman [Tue, 11 Aug 2015 20:42:00 +0000 (20:42 +0000)]
Add an AST matcher to match member intializers of a CXXCtorInitializer.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244662 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoclang-format: Make SpaceBeforeParens work with overloaded operators.
Daniel Jasper [Tue, 11 Aug 2015 20:32:24 +0000 (20:32 +0000)]
clang-format: Make SpaceBeforeParens work with overloaded operators.

Patch by Jon Chesterfield, thank you!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244660 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[MSVC Compatibility] Classify ext_ms_cast_fn_obj as DefaultError
David Majnemer [Tue, 11 Aug 2015 19:25:13 +0000 (19:25 +0000)]
[MSVC Compatibility] Classify ext_ms_cast_fn_obj as DefaultError

This non-conforming extension was introduced to make it possible for us
to correctly compile <atomic> in VS 2013 and 2015.  Let's limit its
impact to system headers to encourage portable code.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244650 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoRevert "[CUDA] Add implicit __attribute__((used)) to all __global__ functions."
Daniel Jasper [Tue, 11 Aug 2015 11:02:09 +0000 (11:02 +0000)]
Revert "[CUDA] Add implicit __attribute__((used)) to all __global__ functions."

This is breaking internal test. I'll provide a reproduction.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244583 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoThis patch fixes the assert in emitting captured code in the target data construct.
Michael Wong [Tue, 11 Aug 2015 04:52:01 +0000 (04:52 +0000)]
This patch fixes the assert in emitting captured code in the target data construct.
This is on behalf of Kelvin Li.
http://reviews.llvm.org/D11475

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244569 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoPropagate SourceLocations through to get a Loc on float_cast_overflow
Filipe Cabecinhas [Tue, 11 Aug 2015 04:19:28 +0000 (04:19 +0000)]
Propagate SourceLocations through to get a Loc on float_cast_overflow

Summary:
float_cast_overflow is the only UBSan check without a source location attached.
This patch propagates SourceLocations where necessary to get them to the
EmitCheck() call.

Reviewers: rsmith, ABataev, rjmccall

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D11757

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244568 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[MSVC Compat] Implement __is_destructible, __is_nothrow_destructible
David Majnemer [Tue, 11 Aug 2015 03:03:28 +0000 (03:03 +0000)]
[MSVC Compat] Implement __is_destructible, __is_nothrow_destructible

Our implementations of these type trait intrinsics simply mapped them to
__has_trivial_destructor.  Instead, flesh these intrinsics out with a
full implementation which matches the standard's description.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244564 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoMake the analysis reporting test with x86 to fix the hexagon build.
Tyler Nowicki [Tue, 11 Aug 2015 01:54:48 +0000 (01:54 +0000)]
Make the analysis reporting test with x86 to fix the hexagon build.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244561 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoPrint vectorization analysis when loop hint is specified.
Tyler Nowicki [Tue, 11 Aug 2015 01:10:08 +0000 (01:10 +0000)]
Print vectorization analysis when loop hint is specified.

This patche and a related llvm patch solve the problem of having to explicitly enable analysis when specifying a loop hint pragma to get the diagnostics. Passing AlwasyPrint as the pass name (see below) causes the front-end to print the diagnostic if the user has specified '-Rpass-analysis' without an '=<target-pass>’. Users of loop hints can pass that compiler option without having to specify the pass and they will get diagnostics for only those loops with loop hints.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244556 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[modules] Don't suggest deleting the module cache on an error if there is no module...
Richard Smith [Tue, 11 Aug 2015 00:32:42 +0000 (00:32 +0000)]
[modules] Don't suggest deleting the module cache on an error if there is no module cache for this build.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244547 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoadd comment
Derek Schuff [Tue, 11 Aug 2015 00:19:54 +0000 (00:19 +0000)]
add comment

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244542 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoAdd NaCl to long double/fp128 mangling test
Derek Schuff [Tue, 11 Aug 2015 00:19:53 +0000 (00:19 +0000)]
Add NaCl to long double/fp128 mangling test

Summary:
NaCl is a platform where long double is the same as double.
Its mangling is spelled with "long double" but its ABI lowering is the same
as double.

Reviewers: rnk, chh

Subscribers: jfb, cfe-commits, dschuff

Differential Revision: http://reviews.llvm.org/D11922

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244541 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[modules] Properly diagnose errors in module files for which we have no
Richard Smith [Tue, 11 Aug 2015 00:05:21 +0000 (00:05 +0000)]
[modules] Properly diagnose errors in module files for which we have no
corresponding include location (those specified on the command line).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244538 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoFix some tabs.
Richard Smith [Tue, 11 Aug 2015 00:03:28 +0000 (00:03 +0000)]
Fix some tabs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244537 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoRemove some dead code.
Richard Smith [Mon, 10 Aug 2015 23:26:54 +0000 (23:26 +0000)]
Remove some dead code.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244530 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoAppend options for vectorization when pointer checking threshold is exceeded.
Tyler Nowicki [Mon, 10 Aug 2015 23:05:16 +0000 (23:05 +0000)]
Append options for vectorization when pointer checking threshold is exceeded.

Following one of the appended options will allow the loop to be vectorized. We do not include a command line option for modifying the pointer checking threshold because there is no clang-level interface for this currently.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244526 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoAdd NaCl (a target where long double = double) to long double ABI test
Derek Schuff [Mon, 10 Aug 2015 23:02:37 +0000 (23:02 +0000)]
Add NaCl (a target where long double = double) to long double ABI test

A test was recently (r244468) added to cover long double calling convention
codegen, distinguishing between Android and GNU conventions (where long doubles
are fp128 and x86_fp80, respectively). Native Client is a target where long
doubles are the same as doubles. This change augments the test to cover
that case.

Also rename the test to test/codeGen/X86_64-longdouble.c

Differential Revision: http://reviews.llvm.org/D11921

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244524 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoMake frontend floating-point commutivity test X86 specific to avoid cost-model relate...
Tyler Nowicki [Mon, 10 Aug 2015 22:17:40 +0000 (22:17 +0000)]
Make frontend floating-point commutivity test X86 specific to avoid cost-model related problems on arm-thumb and hexagon.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244517 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoIf a variable template is inside a context with template arguments that is being...
Nick Lewycky [Mon, 10 Aug 2015 21:54:08 +0000 (21:54 +0000)]
If a variable template is inside a context with template arguments that is being instantiated, and that instantiation fails, fail our instantiation instead of crashing. Errors have already been emitted.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244515 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoRemove non-ascii characters.
Tyler Nowicki [Mon, 10 Aug 2015 21:18:01 +0000 (21:18 +0000)]
Remove non-ascii characters.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244506 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoFix test case to work with -Asserts builds.
Chih-Hung Hsieh [Mon, 10 Aug 2015 20:58:54 +0000 (20:58 +0000)]
Fix test case to work with -Asserts builds.

When clang is built with -DLLVM_ENABLE_ASSERTIONS=Off,
it does not create names for IR values.

Differential Revision: http://reviews.llvm.org/D11437

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244502 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[CUDA] Add implicit __attribute__((used)) to all __global__ functions.
Artem Belevich [Mon, 10 Aug 2015 20:57:02 +0000 (20:57 +0000)]
[CUDA] Add implicit __attribute__((used)) to all __global__ functions.

This allows emitting kernels that were instantiated from the host code
and which would never be explicitly referenced otherwise.

Differential Revision: http://reviews.llvm.org/D11666

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244501 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[CUDA] Added stubs for new attributes used by CUDA headers.
Artem Belevich [Mon, 10 Aug 2015 20:33:56 +0000 (20:33 +0000)]
[CUDA] Added stubs for new attributes used by CUDA headers.

The main purpose is to avoid errors and warnings while parsing CUDA
header files. The attributes are currently unused otherwise.

Differential version: http://reviews.llvm.org/D11690

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244497 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoAppend options for floating-point commutivity when related diagnostics are produced.
Tyler Nowicki [Mon, 10 Aug 2015 19:56:40 +0000 (19:56 +0000)]
Append options for floating-point commutivity when related diagnostics are produced.

With this patch clang appends the command line options that would allow vectorization when floating-point commutativity is required. Specifically those are enabling fast-math or specifying a loop hint.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244492 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoFix typo.
Nick Lewycky [Mon, 10 Aug 2015 19:54:11 +0000 (19:54 +0000)]
Fix typo.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244490 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[dllimport] A non-imported class with an imported key can't have a key
Reid Kleckner [Mon, 10 Aug 2015 19:39:01 +0000 (19:39 +0000)]
[dllimport] A non-imported class with an imported key can't have a key

Summary:
The vtable takes its DLL storage class from the class, not the key
function. When they disagree, the vtable won't be exported by the DLL
that defines the key function. The easiest way to ensure that importers
of the class emit their own vtable is to say that the class has no key
function.

Reviewers: hans, majnemer

Subscribers: cfe-commits

Differential Revision: http://reviews.llvm.org/D11913

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244488 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[clang-cl] Add support for CL and _CL_ environment variables
David Majnemer [Mon, 10 Aug 2015 18:16:32 +0000 (18:16 +0000)]
[clang-cl] Add support for CL and _CL_ environment variables

cl uses 'CL' and '_CL_' to prepend and append command line options to
the given argument vector.  There is an additional quirk whereby '#' is
transformed into '='.

Differential Revision: http://reviews.llvm.org/D11896

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244473 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoCorrect x86_64 fp128 calling convention
Chih-Hung Hsieh [Mon, 10 Aug 2015 17:33:31 +0000 (17:33 +0000)]
Correct x86_64 fp128 calling convention

These changes are for Android x86_64 targets to be compatible
with current Android g++ and conform to AMD64 ABI.

https://llvm.org/bugs/show_bug.cgi?id=23897
  * Return type of long double (fp128) should be fp128, not x86_fp80.
  * Vararg of long double (fp128) could be in register and overflowed to memory.

https://llvm.org/bugs/show_bug.cgi?id=24111
  * Return value of long double (fp128) _Complex should be in memory like a structure of {fp128,fp128}.

Differential Revision: http://reviews.llvm.org/D11437

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244468 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoAdd new llvm.loop.unroll.enable metadata for use with "#pragma unroll".
Mark Heffernan [Mon, 10 Aug 2015 17:29:39 +0000 (17:29 +0000)]
Add new llvm.loop.unroll.enable metadata for use with "#pragma unroll".

This change adds the new unroll metadata "llvm.loop.unroll.enable" which directs
the optimizer to unroll a loop fully if the trip count is known at compile time, and
unroll partially if the trip count is not known at compile time. This differs from
"llvm.loop.unroll.full" which explicitly does not unroll a loop if the trip count is not
known at compile time

With this change "#pragma unroll" generates "llvm.loop.unroll.enable" rather than
"llvm.loop.unroll.full" metadata. This changes the semantics of "#pragma unroll" slightly
to mean "unroll aggressively (fully or partially)" rather than "unroll fully or not at all".

The motivating example for this change was some internal code with a loop marked
with "#pragma unroll" which only sometimes had a compile-time trip count depending
on template magic. When the trip count was a compile-time constant, everything works
as expected and the loop is fully unrolled. However, when the trip count was not a
compile-time constant the "#pragma unroll" explicitly disabled unrolling of the loop(!).
Removing "#pragma unroll" caused the loop to be unrolled partially which was desirable
from a performance perspective.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244467 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoAdd WebKit brace style configuration option.
Roman Kashitsyn [Mon, 10 Aug 2015 13:43:19 +0000 (13:43 +0000)]
Add WebKit brace style configuration option.

Summary:
Add brace style `BS_WebKit` as described on https://www.webkit.org/coding/coding-style.html:

* Function definitions: place each brace on its own line.
* Other braces: place the open brace on the line preceding the code block; place the close brace on its own line.

Set brace style used in `getWebKitStyle()` to the newly added `BS_WebKit`.

Reviewers: djasper, klimek

Subscribers: klimek, cfe-commits

Differential Revision: http://reviews.llvm.org/D11837

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244446 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[Driver] Fix handling of -fbuiltin/-fcommon when combined with -mkernel
John Brawn [Mon, 10 Aug 2015 11:11:28 +0000 (11:11 +0000)]
[Driver] Fix handling of -fbuiltin/-fcommon when combined with -mkernel

-mkernel enables -fno-builtin and -fno-common by default, but allows -fbuiltin
and -fcommon to override that. However "-fbuiltin -fno-builtin" is treated the
same as "-fbuiltin" which is wrong, so fix that. Also fixes similar behaviour
when -fno-common is default.

Differential Revision: http://reviews.llvm.org/D11459

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244437 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[Static Analyzer] Warn when inner and outer conditions are identical. The inner condi...
Daniel Marjamaki [Mon, 10 Aug 2015 07:18:29 +0000 (07:18 +0000)]
[Static Analyzer] Warn when inner and outer conditions are identical. The inner condition is always true.

Reviewed in http://reviews.llvm.org/D10892.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244435 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[tests] Remove calls to grep
Filipe Cabecinhas [Mon, 10 Aug 2015 07:01:11 +0000 (07:01 +0000)]
[tests] Remove calls to grep

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244433 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[MSVC] Crash fix: assigning of overloaded member function pointer caused assertion
Alexey Bataev [Mon, 10 Aug 2015 04:07:49 +0000 (04:07 +0000)]
[MSVC] Crash fix: assigning of overloaded member function pointer caused assertion

Original class was not marked with inheritance attribute and it causes a crash on codegen.
Differential Revision: http://reviews.llvm.org/D11828

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244428 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoclang/test/Modules: Satisfy win32 hosts due to dospath issue.
NAKAMURA Takumi [Sun, 9 Aug 2015 22:55:50 +0000 (22:55 +0000)]
clang/test/Modules: Satisfy win32 hosts due to dospath issue.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244427 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[modules] Remove now-dead code for lazy loading of files specified by -fmodule-file=.
Richard Smith [Sun, 9 Aug 2015 08:58:36 +0000 (08:58 +0000)]
[modules] Remove now-dead code for lazy loading of files specified by -fmodule-file=.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244417 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[modules] PR22534: Load files specified by -fmodule-file= eagerly. In particular...
Richard Smith [Sun, 9 Aug 2015 08:48:41 +0000 (08:48 +0000)]
[modules] PR22534: Load files specified by -fmodule-file= eagerly. In particular, this avoids the need to re-parse module map files when using such a module.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244416 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoUnrevert r244412 (reverted in r244414), and delete the bogus line left behind
Richard Smith [Sun, 9 Aug 2015 06:03:55 +0000 (06:03 +0000)]
Unrevert r244412 (reverted in r244414), and delete the bogus line left behind
in the unit test that was checking a file the test no longer creates.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244415 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoRevert "[modules] Don't leak -M flags for dependency file generation into the module"
Justin Bogner [Sun, 9 Aug 2015 05:40:38 +0000 (05:40 +0000)]
Revert "[modules] Don't leak -M flags for dependency file generation into the module"

This was failing tests on a bunch of bots:

http://lab.llvm.org:8011/builders/clang-hexagon-elf/builds/29919/steps/check-all
http://lab.llvm.org:8011/builders/clang-x86_64-debian-fast/builds/29627/steps/check-all
http://lab.llvm.org:8080/green/job/clang-stage1-configure-RA_check/9959/
http://lab.llvm.org:8080/green/job/clang-stage2-configure-Rlto_check/5591/

This reverts r244412

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244414 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[modules] When building a dependency file, include module maps parsed in the
Richard Smith [Sun, 9 Aug 2015 04:46:57 +0000 (04:46 +0000)]
[modules] When building a dependency file, include module maps parsed in the
current compilation, not just those from imported modules.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244413 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[modules] Don't leak -M flags for dependency file generation into the module
Richard Smith [Sun, 9 Aug 2015 02:44:20 +0000 (02:44 +0000)]
[modules] Don't leak -M flags for dependency file generation into the module
build process when we implicitly build a module. Previously, we'd create the
specified .d file once for each implicitly-built module and then finally
overwrite it with the correct contents after the requested build completes.
(This fails if you use stdout as a dependency file, which is what the provided
testcase does, and is how I discovered this brokenness.)

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244412 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[modules] Attach dependency listeners to the module manager once when it's
Richard Smith [Sun, 9 Aug 2015 02:28:42 +0000 (02:28 +0000)]
[modules] Attach dependency listeners to the module manager once when it's
created, rather than creating and attaching a new listener each time we load a
module file (yes, the old ones were kept around too!). No functionality change
intended, but a bit more sanity.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244411 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoAdd file missed from r244409.
Richard Smith [Sun, 9 Aug 2015 01:50:14 +0000 (01:50 +0000)]
Add file missed from r244409.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244410 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[modules] When loading a template specialization, re-canonicalize its template
Richard Smith [Sun, 9 Aug 2015 01:05:31 +0000 (01:05 +0000)]
[modules] When loading a template specialization, re-canonicalize its template
arguments because the reloaded form might have become non-canonical across the
serialization/deserialization step (this particularly happens when the
canonical form of the type involves an expression).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244409 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoTeach mingw toolchain driver to properly emit static or dynamic linking of ligcc.
Yaron Keren [Sun, 9 Aug 2015 00:24:07 +0000 (00:24 +0000)]
Teach mingw toolchain driver to properly emit static or dynamic linking of ligcc.
Implemented in MinGW::Linker::AddLibGCC since AddLibgcc is a logic puzzle even
before adding one more boolean. A first step towards simplification of AddLibgcc
would be to factor out the Android AddLibgcc code into its own routine.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244407 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[Static Analyzer] Add --analyzer-target option to scan-build.
Ted Kremenek [Sat, 8 Aug 2015 17:58:47 +0000 (17:58 +0000)]
[Static Analyzer] Add --analyzer-target option to scan-build.

When interposing on a compiler doing cross-compilation, scan-build
does not infer the target triple needed to pass to clang for
doing static analysis.  The --analyzer-target option allows one
to manually specify the target triple used during static analysis
(and only static analysis) for such cases.

Patch by Honggyu Kim!

Reviewed in http://reviews.llvm.org/D10356.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244400 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoRevert "[analyzer] Add checkers for OS X / iOS localizability issues"
Anna Zaks [Sat, 8 Aug 2015 04:53:04 +0000 (04:53 +0000)]
Revert "[analyzer] Add checkers for OS X / iOS localizability issues"

This reverts commit fc885033a30b6e30ccf82398ae7c30e646727b10.

Revert all localization checker commits until the proper fix is implemented.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244394 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoRevert "[analyzer] Fixup to r244389 to make this build on windows."
Anna Zaks [Sat, 8 Aug 2015 04:52:59 +0000 (04:52 +0000)]
Revert "[analyzer] Fixup to r244389 to make this build on windows."

This reverts commit 57a46a75b408245cf4154a838fe13ad702065745.

Revert all localization checker commits until the proper fix is implemented.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244393 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[analyzer] Fixup to r244389 to make this build on windows.
Anna Zaks [Sat, 8 Aug 2015 02:26:07 +0000 (02:26 +0000)]
[analyzer] Fixup to r244389 to make this build on windows.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244390 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[analyzer] Add checkers for OS X / iOS localizability issues
Anna Zaks [Sat, 8 Aug 2015 01:49:26 +0000 (01:49 +0000)]
[analyzer] Add checkers for OS X / iOS localizability issues

Add checkers that detect code-level localizability issues for OS X / iOS:
 - A path sensitive checker that warns about uses of non-localized
 NSStrings passed to UI methods expecting localized strings.
 - A syntax checker that warns against not including a comment in
 NSLocalizedString macros.

A patch by Kulpreet Chilana!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244389 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[analyzer] Don't issue alarm in ObjCSuperCallChecker for the super class itself.
Devin Coughlin [Sat, 8 Aug 2015 01:31:51 +0000 (01:31 +0000)]
[analyzer] Don't issue alarm in ObjCSuperCallChecker for the super class itself.

The ObjCSuperCallChecker issues alarms for various Objective-C APIs that require
a subclass to call to its superclass's version of a method when overriding it.
So, for example, it raises an alarm when the -viewDidLoad method in a subclass
of UIViewController does not call [super viewDidLoad].

This patch fixes a false alarm where the analyzer erroneously required the
implementation of the superclass itself (e.g., UIViewController) to call
super.

rdar://problem/18416944

Differential Revision: http://reviews.llvm.org/D11842

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244386 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoAST: Implement mangling support for function types without a prototype.
Peter Collingbourne [Fri, 7 Aug 2015 23:25:47 +0000 (23:25 +0000)]
AST: Implement mangling support for function types without a prototype.

Function types without prototypes can arise when mangling a function type
within an overloadable function in C. We mangle these as the absence of
any parameter types (not even an empty parameter list).

Differential Revision: http://reviews.llvm.org/D11848

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244374 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[Sparc] XFAIL CodeGen/atomic_ops test.
James Y Knight [Fri, 7 Aug 2015 22:52:34 +0000 (22:52 +0000)]
[Sparc] XFAIL CodeGen/atomic_ops test.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244370 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoUpdate a comment to be more descriptive.
Eric Christopher [Fri, 7 Aug 2015 19:07:08 +0000 (19:07 +0000)]
Update a comment to be more descriptive.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244346 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoMove the cpu validating virtual method down to the feature routines
Eric Christopher [Fri, 7 Aug 2015 18:31:25 +0000 (18:31 +0000)]
Move the cpu validating virtual method down to the feature routines
where it belongs.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244342 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoRestore PrettyStackTrace state on crash.
Nico Weber [Fri, 7 Aug 2015 17:48:57 +0000 (17:48 +0000)]
Restore PrettyStackTrace state on crash.

Last part of PR11974.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244339 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoUse LLVM_ATTRIBUTE_UNUSED to hide gcc 5.1 unused variable warning.
Yaron Keren [Fri, 7 Aug 2015 16:21:23 +0000 (16:21 +0000)]
Use LLVM_ATTRIBUTE_UNUSED to hide gcc 5.1 unused variable warning.
Suggestion by David Blaikie!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244326 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoThis patch commits OpenMP 4 target device clauses
Michael Wong [Fri, 7 Aug 2015 16:16:36 +0000 (16:16 +0000)]
This patch commits OpenMP 4 target device clauses
This is committed on behalf of Kelvin Li
http://reviews.llvm.org/D11469?id=31227

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244325 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoSilence tools/clang/lib/Tooling/CompilationDatabase.cpp:328:12: warning:
Yaron Keren [Fri, 7 Aug 2015 10:15:15 +0000 (10:15 +0000)]
Silence tools/clang/lib/Tooling/CompilationDatabase.cpp:328:12: warning:
‘clang::tooling::JSONAnchorDest’ defined but not used [-Wunused-variable]
from gcc 5.1.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244312 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoMake sure the Features field of the Builtin Info struct is always initialized. Silenc...
Craig Topper [Fri, 7 Aug 2015 05:14:44 +0000 (05:14 +0000)]
Make sure the Features field of the Builtin Info struct is always initialized. Silences -Wmissing-field-initializers.

While there convert 0 in the BUILTIN macros to nullptr.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244307 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoMake 'arm' cover both 32 and 64 bit architecutres
Ben Langmuir [Fri, 7 Aug 2015 01:59:56 +0000 (01:59 +0000)]
Make 'arm' cover both 32 and 64 bit architecutres

... and add aarch32 to specifically refer to the 32-bit ones.

Previously, 'arm' meant only 32-bit architectures and there was no way
for a module to build with both 32 and 64 bit ARM architectures.

Now a module that is intended to work on both architectures can specify
    requires arm
whereas a module only for 32-bit platforms can say
    requires aarch32
and just like before, 64-bit only can say
    requires aarch64

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244306 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoRange-forify a loop, delete trailing whitespace. NFC
Douglas Katzman [Thu, 6 Aug 2015 22:36:24 +0000 (22:36 +0000)]
Range-forify a loop, delete trailing whitespace. NFC

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244290 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[modules] Remove unused ModuleManager::visitDepthFirst function.
Richard Smith [Thu, 6 Aug 2015 22:14:35 +0000 (22:14 +0000)]
[modules] Remove unused ModuleManager::visitDepthFirst function.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244289 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[modules] Fix use-after-iterator-invalidation bug.
Richard Smith [Thu, 6 Aug 2015 22:14:12 +0000 (22:14 +0000)]
[modules] Fix use-after-iterator-invalidation bug.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244288 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoContinue the work from r243908 by adding a Features field to Builtin::Info
Eric Christopher [Thu, 6 Aug 2015 22:11:54 +0000 (22:11 +0000)]
Continue the work from r243908 by adding a Features field to Builtin::Info
so that we can populate it on a per-target basis with required features.

Future commits will start using this information for warnings.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244286 91177308-0d34-0410-b5e6-96231b3b80d8

9 years ago[modules] Stop walking all modules when looking for lexical decls for a
Richard Smith [Thu, 6 Aug 2015 22:07:25 +0000 (22:07 +0000)]
[modules] Stop walking all modules when looking for lexical decls for a
DeclContext. These only ever come from the owning module file for the Decl.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244285 91177308-0d34-0410-b5e6-96231b3b80d8

9 years agoFix alignment of TemplateArgumentList.
James Y Knight [Thu, 6 Aug 2015 21:22:02 +0000 (21:22 +0000)]
Fix alignment of TemplateArgumentList.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@244280 91177308-0d34-0410-b5e6-96231b3b80d8