]> granicus.if.org Git - clang/log
clang
10 years agoUpdate ReleaseNotes release_34 origin/release_34
Tom Stellard [Fri, 16 May 2014 21:07:44 +0000 (21:07 +0000)]
Update ReleaseNotes

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

10 years agoMerging r197036:
Tom Stellard [Fri, 16 May 2014 21:05:39 +0000 (21:05 +0000)]
Merging r197036:

------------------------------------------------------------------------
r197036 | david.tweed | 2013-12-11 08:39:46 -0500 (Wed, 11 Dec 2013) | 8 lines

Add front-end infrastructure now address space casts are in LLVM IR.

With the introduction of explicit address space casts into LLVM, there's
a need to provide a new cast kind the front-end can create for C/OpenCL/CUDA
and code to produce address space casts from those kinds when appropriate.

Patch by Michele Scandale!

------------------------------------------------------------------------

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

10 years agoMerging r202911:
Tom Stellard [Mon, 12 May 2014 17:32:31 +0000 (17:32 +0000)]
Merging r202911:

------------------------------------------------------------------------
r202911 | david.majnemer | 2014-03-04 18:43:48 -0500 (Tue, 04 Mar 2014) | 14 lines

Headers: Provide an ABI compatible max_align_t when _MSC_VER is defined

Summary:
Our usual definition of max_align_t wouldn't match up with MSVC if it
was used in a template argument.

Reviewers: chandlerc, rsmith, rnk

Reviewed By: chandlerc

CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D2924

------------------------------------------------------------------------

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

10 years agoMerging r201729:
Tom Stellard [Mon, 12 May 2014 17:32:29 +0000 (17:32 +0000)]
Merging r201729:

------------------------------------------------------------------------
r201729 | chandlerc | 2014-02-19 17:35:01 -0500 (Wed, 19 Feb 2014) | 21 lines

Teach Clang to provide ::max_align_t in C11 and C++11 modes.

This definition is not chosen idly. There is an unfortunate reality with
max_align_t -- the specific nature of its definition leaks into the ABI
almost immediately. Because it is part of C11 and C++11 it becomes
essential for it to match with other systems on that ABI. There is an
effort to discourage any further use of this construct as a consequence
-- using max_align_t introduces an immediate ABI problem. We can never
update it to have larger alignment even as the microarchitecture changes
to necessitate higher alignment. =/

The particular definition here exactly matches the ABI of GCC's chosen
::max_align_t definition, for better or worse. This was written with the
help of Richard Smith who was decoding the exact ABI implications of the
selected definition in GCC. Notably, in-register arguments are impacted
by the particular definition chosen. =/

No one is under the illusion that this is a "good" or "useful"
definition of max_align_t, and we are working with the standards
committee to specify a more useful interface to address this need.

------------------------------------------------------------------------

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

10 years agoUpdate Release Notes for 3.4.1
Tom Stellard [Mon, 12 May 2014 17:32:27 +0000 (17:32 +0000)]
Update Release Notes for 3.4.1

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

10 years agoMerging r198940 (second try):
Tom Stellard [Fri, 25 Apr 2014 23:38:13 +0000 (23:38 +0000)]
Merging r198940 (second try):

------------------------------------------------------------------------
r198940 | kristof.beyls | 2014-01-10 08:44:34 -0500 (Fri, 10 Jan 2014) | 2 lines

Enable -fuse-init-array for all AArch64 ELF targets by default, not just linux.

------------------------------------------------------------------------

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

10 years agoRevert "Merging r198940:"
Tom Stellard [Mon, 21 Apr 2014 20:30:27 +0000 (20:30 +0000)]
Revert "Merging r198940:"

This reverts commit r206064.

This commit regressed the MultiSource/Applications/sgefa/sgefa test.

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

10 years agoMerging r196981:
Tom Stellard [Fri, 11 Apr 2014 20:31:24 +0000 (20:31 +0000)]
Merging r196981:

------------------------------------------------------------------------
r196981 | fang | 2013-12-10 17:51:25 -0500 (Tue, 10 Dec 2013) | 2 lines

darwin asm driver: suppress -Q for -no-integrated-as on darwin<11

------------------------------------------------------------------------

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

10 years agoMerging r204742:
Tom Stellard [Fri, 11 Apr 2014 20:31:22 +0000 (20:31 +0000)]
Merging r204742:

------------------------------------------------------------------------
r204742 | benny.kra | 2014-03-25 14:02:07 -0400 (Tue, 25 Mar 2014) | 10 lines

Fix an logic error in the clang driver preventing crtfastmath.o from linking when -Ofast is used without -ffast-math

In gcc using -Ofast forces linking of crtfastmath.o.
In the current clang crtfastmath.o is only linked when -ffast-math/-funsafe-math-optimizations passed. It can lead to performance issues, when using only -Ofast without explicit -ffast-math (I faced with it).
My patch fixes inconsistency with gcc behaviour and also introduces few tests on it.

Patch by Zinovy Nis!

Differential Revision: http://llvm-reviews.chandlerc.com/D3114

------------------------------------------------------------------------

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

10 years agoMerging r198940:
Tom Stellard [Fri, 11 Apr 2014 20:23:39 +0000 (20:23 +0000)]
Merging r198940:

------------------------------------------------------------------------
r198940 | kristof.beyls | 2014-01-10 08:44:34 -0500 (Fri, 10 Jan 2014) | 2 lines

Enable -fuse-init-array for all AArch64 ELF targets by default, not just linux.

------------------------------------------------------------------------

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

10 years agoMerging r203007:
Tom Stellard [Fri, 11 Apr 2014 19:36:51 +0000 (19:36 +0000)]
Merging r203007:

------------------------------------------------------------------------
r203007 | rafael.espindola | 2014-03-05 16:04:41 -0500 (Wed, 05 Mar 2014) | 4 lines

Don't produce an alias between destructors with different calling conventions.

Fixes pr19007.

------------------------------------------------------------------------

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

10 years agoMerging r205144:
Tom Stellard [Fri, 11 Apr 2014 19:36:49 +0000 (19:36 +0000)]
Merging r205144:

------------------------------------------------------------------------
r205144 | hfinkel | 2014-03-30 09:00:06 -0400 (Sun, 30 Mar 2014) | 7 lines

[PowerPC] Make -pg generate calls to _mcount not mcount

At least on REL6 (Linux/glibc 2.12), the proper symbol for generating gprof
data is _mcount, not mcount. Prior to this change, compiling with -pg would
generate linking errors (because of unresolved references to mcount), after
this change -pg seems at least minimally functional.

------------------------------------------------------------------------

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

10 years agoMerging r197577:
Tom Stellard [Tue, 8 Apr 2014 19:16:08 +0000 (19:16 +0000)]
Merging r197577:

------------------------------------------------------------------------
r197577 | rafael.espindola | 2013-12-18 10:16:50 -0500 (Wed, 18 Dec 2013) | 4 lines

Add -f64:32:64 to the darwin ppc32 DataLayout.

A f64 inside a struct can be 32 bit aligned on darwin.

------------------------------------------------------------------------

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

10 years agoMerging r203050:
Tom Stellard [Tue, 8 Apr 2014 18:57:47 +0000 (18:57 +0000)]
Merging r203050:

------------------------------------------------------------------------
r203050 | rtrieu | 2014-03-05 20:09:03 -0500 (Wed, 05 Mar 2014) | 4 lines

Change the color of comment nodes from bright yellow to blue.  Bright yellow on
a white background is difficult to read.  Also include a chart showing which
colors are used by which elements in the AST dump.

------------------------------------------------------------------------

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

10 years agoMerging r200953:
Tom Stellard [Tue, 8 Apr 2014 18:57:44 +0000 (18:57 +0000)]
Merging r200953:

------------------------------------------------------------------------
r200953 | rtrieu | 2014-02-06 18:26:23 -0500 (Thu, 06 Feb 2014) | 3 lines

Fixes PR18762, stop the StmtPrinter for ObjCPropertyRefExpr from crashing on
certain receiver types.

------------------------------------------------------------------------

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

10 years agoMerging r197445:
Tom Stellard [Tue, 8 Apr 2014 18:57:41 +0000 (18:57 +0000)]
Merging r197445:

------------------------------------------------------------------------
r197445 | rtrieu | 2013-12-16 19:40:40 -0500 (Mon, 16 Dec 2013) | 4 lines

For -Wconsumed, walk the namespaces to find if the top most namespace is "std"
to determine if a move function is the std::move function.  This allows functions
like std::__1::move to also be treated a the move function.

------------------------------------------------------------------------

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

10 years agoMerging r197428:
Tom Stellard [Tue, 8 Apr 2014 18:57:38 +0000 (18:57 +0000)]
Merging r197428:

------------------------------------------------------------------------
r197428 | rtrieu | 2013-12-16 16:41:30 -0500 (Mon, 16 Dec 2013) | 2 lines

Fix PR18260 - Make std::move handling in -Wconsumed only trigger on std::move

------------------------------------------------------------------------

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

11 years agoMerging r203025:
Tom Stellard [Wed, 19 Mar 2014 20:38:17 +0000 (20:38 +0000)]
Merging r203025:

------------------------------------------------------------------------
r203025 | richard-llvm | 2014-03-05 15:32:50 -0800 (Wed, 05 Mar 2014) |
3 lines

PR19010: Make sure we initialize (empty) indirect base class subobjects
when
evaluating trivial default initialization of a literal class type.

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

11 years agoMerging r200954:
Tom Stellard [Mon, 17 Mar 2014 16:39:03 +0000 (16:39 +0000)]
Merging r200954:

------------------------------------------------------------------------
r200954 | richard-llvm | 2014-02-06 15:35:16 -0800 (Thu, 06 Feb 2014) | 9 lines

Temporary fix for PR18473: Don't try to evaluate the initializer for a
type-dependent variable, even if the initializer isn't value-dependent.  This
happens for ParenListExprs composed of non-value-dependent subexpressions, for
instance.

We should really give ParenListExprs (and InitListExprs) the type of the
initialized entity if they're used to represent a dependent initialization (and
if so, set them to be type-, value- and instantiation-dependent).

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

11 years agoMerging r202721:
Tom Stellard [Thu, 13 Mar 2014 23:37:46 +0000 (23:37 +0000)]
Merging r202721:

------------------------------------------------------------------------
r202721 | thomas.stellard | 2014-03-03 07:22:14 -0800 (Mon, 03 Mar 2014) | 2 lines

Update tests for addition of patch level to LLVM version

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

11 years agoClang 3.4 release notes: Fix description of enum increment/decrement change in
Richard Smith [Mon, 6 Jan 2014 18:35:01 +0000 (18:35 +0000)]
Clang 3.4 release notes: Fix description of enum increment/decrement change in
Clang 3.4. Add link to referenced PR.

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

11 years agoSmall reformatting changes.
Bill Wendling [Tue, 24 Dec 2013 06:30:50 +0000 (06:30 +0000)]
Small reformatting changes.

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

11 years ago---Merging r196453
Bill Wendling [Mon, 23 Dec 2013 10:02:34 +0000 (10:02 +0000)]
---Merging r196453

    Parse: Recover better from bad definitions with base specifiers

    We would skip until the next comma, hoping good things whould lie there,
    however this would fail when we have such things as this:

    struct A {};
    template <typename>
    struct D;
    template <>
    struct D<C> : B, A::D;

    Once this happens, we would believe that D with a nested namespace
    specifier of A was a variable that was being declared. We would go on
    to complain that there was an extraneous 'template <>' on their variable
    declaration.

    Crashes would happen when 'A' gets defined as 'enum class A {}' as
    various asserts would fire.

    Instead, we should skip up until the semicolon if we see that we are in
    the middle of a definition and the current token is a ':'

    This fixes PR17084.

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

11 years agoRemove help notes from the ReleaseNotes.
Bill Wendling [Fri, 20 Dec 2013 22:16:21 +0000 (22:16 +0000)]
Remove help notes from the ReleaseNotes.

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

11 years agoUpdate of the release notes to provide examples of the new checks/warnings
Sylvestre Ledru [Thu, 19 Dec 2013 10:18:31 +0000 (10:18 +0000)]
Update of the release notes to provide examples of the new checks/warnings

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

11 years agoMerging r197409:
Bill Wendling [Tue, 17 Dec 2013 04:29:27 +0000 (04:29 +0000)]
Merging r197409:
------------------------------------------------------------------------
r197409 | rikka | 2013-12-16 11:19:18 -0800 (Mon, 16 Dec 2013) | 4 lines

Make Sema::BuildCXXNestedNameSpecifier correctly clear the previous
CXXScopeSpec when necessary while performing typo correction. This fixes
the crash reported in PR18213 (the problem existed since r185487, and
r193020 made it easier to hit).
------------------------------------------------------------------------

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

11 years agoFix link.
Bill Wendling [Tue, 17 Dec 2013 00:32:40 +0000 (00:32 +0000)]
Fix link.

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

11 years agoAdd blurb about leak sanitizer.
Bill Wendling [Mon, 16 Dec 2013 19:53:36 +0000 (19:53 +0000)]
Add blurb about leak sanitizer.

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

11 years agofix a weird phrase
Gabor Greif [Mon, 16 Dec 2013 11:18:18 +0000 (11:18 +0000)]
fix a weird phrase

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

11 years agoRewrite the static analyzer changes description for the 3.4 release.
Sylvestre Ledru [Mon, 16 Dec 2013 10:43:55 +0000 (10:43 +0000)]
Rewrite the static analyzer changes description for the 3.4 release.

After chatting with Anna Zaks, she believes that my code samples were
more bugs in the previous releases of the static analyzer.

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

11 years agoMerging r196212:
Bill Wendling [Mon, 16 Dec 2013 02:32:55 +0000 (02:32 +0000)]
Merging r196212:
------------------------------------------------------------------------
r196212 | alp | 2013-12-02 22:13:01 -0800 (Mon, 02 Dec 2013) | 22 lines

Emit an extension warning when changing system header tokens

clang converts keywords to identifiers for compatibility with various system
headers such as GNU libc.

Implement a -Wkeyword-compat extension warning to diagnose those cases. The
warning is on by default but will generally be ignored in system headers. It
can however be enabled globally to aid standards conformance testing.

This also changes the __uptr keyword avoidance from r195710 to no longer
special-case system headers, bringing it in line with other similar workarounds
in clang.

Implementation returns bool for symmetry with token annotation functions.

Some examples:

warning: keyword '__is_pod' will be treated as an identifier for the remainder of the translation unit [-Wkeyword-compat]
struct __is_pod

warning: keyword '__uptr' will be treated as an identifier here [-Wkeyword-compat]
union w *__uptr;
------------------------------------------------------------------------

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

11 years agoMerging r197298:
Bill Wendling [Sat, 14 Dec 2013 07:59:40 +0000 (07:59 +0000)]
Merging r197298:
------------------------------------------------------------------------
r197298 | rsmith | 2013-12-13 17:04:22 -0800 (Fri, 13 Dec 2013) | 3 lines

PR18232: implement instantiation for class-scope explicit specializations of
class templates (a Microsoft extension).

------------------------------------------------------------------------

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

11 years agoMerging r197305:
Bill Wendling [Sat, 14 Dec 2013 07:59:17 +0000 (07:59 +0000)]
Merging r197305:
------------------------------------------------------------------------
r197305 | rsmith | 2013-12-13 19:18:05 -0800 (Fri, 13 Dec 2013) | 7 lines

PR18246: When performing template argument deduction to decide which template
is specialized by an explicit specialization, start from the first declaration
in case we've got a member of a class template (redeclarations might not number
the template parameters the same way).

Our recover here is still far from ideal.

------------------------------------------------------------------------

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

11 years agoImprove the 3.4 release notes about the static analyzer new features
Sylvestre Ledru [Fri, 13 Dec 2013 11:30:23 +0000 (11:30 +0000)]
Improve the 3.4 release notes about the static analyzer new features

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

11 years agoMerging r197120:
Bill Wendling [Thu, 12 Dec 2013 04:30:51 +0000 (04:30 +0000)]
Merging r197120:
------------------------------------------------------------------------
r197120 | rsmith | 2013-12-11 18:42:17 -0800 (Wed, 11 Dec 2013) | 2 lines

Update user manual to note that implementation for C++11 and C++1y is complete, and fix a bunch of other issues here.

------------------------------------------------------------------------

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

11 years agoFix another formatting bug.
Richard Smith [Thu, 12 Dec 2013 02:30:46 +0000 (02:30 +0000)]
Fix another formatting bug.

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

11 years agoFix RST syntax errors.
Richard Smith [Thu, 12 Dec 2013 02:26:06 +0000 (02:26 +0000)]
Fix RST syntax errors.

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

11 years agoAdd information about C++1y support to Clang 3.4 release notes.
Richard Smith [Thu, 12 Dec 2013 02:20:54 +0000 (02:20 +0000)]
Add information about C++1y support to Clang 3.4 release notes.

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

11 years agoAdd release notes for clang-format.
Daniel Jasper [Wed, 11 Dec 2013 14:41:33 +0000 (14:41 +0000)]
Add release notes for clang-format.

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

11 years agoMerging r197022:
Sergey Matveev [Wed, 11 Dec 2013 09:15:45 +0000 (09:15 +0000)]
Merging r197022:
------------------------------------------------------------------------
r197022 | smatveev | 2013-12-11 13:14:36 +0400 (Wed, 11 Dec 2013) | 1 line

Mention LeakSanitizer in AddressSanitizer docs.
------------------------------------------------------------------------

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

11 years agoMerging r196995:
Bill Wendling [Wed, 11 Dec 2013 04:25:35 +0000 (04:25 +0000)]
Merging r196995:
------------------------------------------------------------------------
r196995 | rsmith | 2013-12-10 17:40:16 -0800 (Tue, 10 Dec 2013) | 5 lines

When performing an array new of a multidimensional array with an initializer
list, each element of the initializer list may provide more than one of the
base elements of the array. Be sure to initialize the right type and bump the
array pointer by the right amount.

------------------------------------------------------------------------

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

11 years agoMerging r196957:
Sergey Matveev [Tue, 10 Dec 2013 20:13:58 +0000 (20:13 +0000)]
Merging r196957:
------------------------------------------------------------------------
r196957 | smatveev | 2013-12-11 00:10:30 +0400 (Wed, 11 Dec 2013) | 1 line

Rewrite docs/LeakSanitizer.rst. Add it to index.
------------------------------------------------------------------------

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

11 years agoMerging r196852:
Bill Wendling [Tue, 10 Dec 2013 06:41:28 +0000 (06:41 +0000)]
Merging r196852:
------------------------------------------------------------------------
r196852 | majnemer | 2013-12-09 16:40:58 -0800 (Mon, 09 Dec 2013) | 10 lines

Sema: Enforce C++11 pointer-to-member template arguments should rules

The standard is pretty clear on what it allows inside of template
arguments for non-type template parameters of pointer-to-member.

They must be of the form &qualified-id and cannot come from sources like
constexpr VarDecls or things of that nature.

This fixes PR18192.

------------------------------------------------------------------------

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

11 years agoMerging r196771:
Bill Wendling [Tue, 10 Dec 2013 05:29:38 +0000 (05:29 +0000)]
Merging r196771:
------------------------------------------------------------------------
r196771 | majnemer | 2013-12-09 02:44:32 -0800 (Mon, 09 Dec 2013) | 17 lines

[-cxx-abi microsoft] Mangle large integral constants correctly

Testing has revealed that large integral constants (i.e. > INT64_MAX)
are always mangled as-if they are negative, even in places where it
would not make sense for them to be negative (like non-type template
parameters of type unsigned long long).

To address this, we change the way we model number mangling: always
mangle as-if our number is an int64_t.  This should result in correct
results when we have large unsigned numbers.

N.B.  Bizarrely, things that are 32-bit displacements like vbptr offsets
are mangled as-if they are unsigned 32-bit numbers.  This is a pretty
egregious waste of space, it would be a 4x savings if we could mangle it
like a signed 32-bit number.  Instead, we explicitly cast these
displacements to uint32_t and let the mangler proceed.

------------------------------------------------------------------------

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

11 years agoMerging r196612:
Bill Wendling [Tue, 10 Dec 2013 04:29:17 +0000 (04:29 +0000)]
Merging r196612:
------------------------------------------------------------------------

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

11 years agoMerging r196145:
Manman Ren [Mon, 9 Dec 2013 21:04:35 +0000 (21:04 +0000)]
Merging r196145:
------------------------------------------------------------------------
r196145 | mren | 2013-12-02 12:10:37 -0800 (Mon, 02 Dec 2013) | 5 lines

Debug Info: Move the constant for Debug Info Version from Dwarf.h to Metadata.h.

Suggested by Eric.
Paired commit with r196144.

------------------------------------------------------------------------

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

11 years agoMerging r196143:
Manman Ren [Mon, 9 Dec 2013 21:02:26 +0000 (21:02 +0000)]
Merging r196143:
------------------------------------------------------------------------
r196143 | mren | 2013-12-02 11:37:35 -0800 (Mon, 02 Dec 2013) | 1 line

Expand comments for Debug Info Version.
------------------------------------------------------------------------

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

11 years agoMerging r195495:
Manman Ren [Mon, 9 Dec 2013 20:27:01 +0000 (20:27 +0000)]
Merging r195495:
------------------------------------------------------------------------
r195495 | mren | 2013-11-22 11:42:45 -0800 (Fri, 22 Nov 2013) | 5 lines

Debug Info: add a "Debug Info Version" module flag to output the current debug
info version number.

Will error out when modules have different version numbers.

------------------------------------------------------------------------

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

11 years agoRelease notes: expand clang-cl blurb a little
Hans Wennborg [Mon, 9 Dec 2013 20:00:25 +0000 (20:00 +0000)]
Release notes: expand clang-cl blurb a little

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

11 years agoMerging r196599:
Bill Wendling [Mon, 9 Dec 2013 18:37:20 +0000 (18:37 +0000)]
Merging r196599:
------------------------------------------------------------------------
r196599 | zaks | 2013-12-06 11:28:16 -0800 (Fri, 06 Dec 2013) | 5 lines

Fixup to r196593.

This is another regression fixed by reverting r189090.

In this case, the problem is not live variables but the approach that was taken in r189090. This regression was caused by explicitly binding "true" to the condition when we take the true branch. Normally that's okay, but in this case we're planning to reuse that condition as the value of the expression.
------------------------------------------------------------------------

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

11 years agoMerging r196593:
Bill Wendling [Mon, 9 Dec 2013 18:37:00 +0000 (18:37 +0000)]
Merging r196593:
------------------------------------------------------------------------
r196593 | zaks | 2013-12-06 10:56:29 -0800 (Fri, 06 Dec 2013) | 7 lines

Revert "[analyzer] Refactor conditional expression evaluating code"

This reverts commit r189090.

The original patch introduced regressions (see the added live-variables.* tests). The patch depends on the correctness of live variable analyses, which are not computed correctly. I've opened PR18159 to track the proper resolution to this problem.

The patch was a stepping block to r189746. This is why part of the patch reverts temporary destructor tests that started crashing. The temporary destructors feature is disabled by default.
------------------------------------------------------------------------

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

11 years agoRemove stray parts of (reverted on trunk) r196205 that are causing test
Tim Northover [Mon, 9 Dec 2013 11:21:49 +0000 (11:21 +0000)]
Remove stray parts of (reverted on trunk) r196205 that are causing test
failures.

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

11 years agoMerging r196720:
Bill Wendling [Mon, 9 Dec 2013 02:59:27 +0000 (02:59 +0000)]
Merging r196720:
------------------------------------------------------------------------
r196720 | joerg | 2013-12-08 05:54:58 -0800 (Sun, 08 Dec 2013) | 3 lines

Extend assembler handling for NetBSD/MIPS to pass down the correct ABI,
architecture and PIC flag.

------------------------------------------------------------------------

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

11 years agoMerging r196724:
Bill Wendling [Mon, 9 Dec 2013 02:58:56 +0000 (02:58 +0000)]
Merging r196724:
------------------------------------------------------------------------
r196724 | tnorthover | 2013-12-08 07:24:55 -0800 (Sun, 08 Dec 2013) | 5 lines

ARM: teach Sema that "r" can match 64-bit values

We already support using "r" on 64-bit values (a GPRPair is
allocated), but Sema doesn't know this yet so issues a warning. This
should fix it.
------------------------------------------------------------------------

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

11 years agoMerging r196712:
Bill Wendling [Mon, 9 Dec 2013 02:00:10 +0000 (02:00 +0000)]
Merging r196712:
------------------------------------------------------------------------
r196712 | rafael | 2013-12-07 17:13:22 -0800 (Sat, 07 Dec 2013) | 12 lines

Fix pr18174.

Clang outputs LLVM one top level decl at a time. This combined with the
visibility computation code looking for the newest NamespaceDecl would cause
it to produce different results for nested namespaces.

The two options for producing consistent results are
* Delay codegen of anything inside a namespace until the end of the file.
* Don't look for the newest NamespaceDecl.

This patch implements the second option.
This matches the gcc behavior too.
------------------------------------------------------------------------

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

11 years agoMerging r196630:
Bill Wendling [Sun, 8 Dec 2013 00:21:01 +0000 (00:21 +0000)]
Merging r196630:
------------------------------------------------------------------------
r196630 | joerg | 2013-12-06 16:57:46 -0800 (Fri, 06 Dec 2013) | 3 lines

Pass correct flags to assembler and linker for OpenBSD on AMD64, PowerPC
and MIPS64. From Brad Smith.

------------------------------------------------------------------------

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

11 years agoMerging r196588:
Bill Wendling [Sun, 8 Dec 2013 00:17:11 +0000 (00:17 +0000)]
Merging r196588:
------------------------------------------------------------------------

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

11 years agoMerging r196535:
Bill Wendling [Sun, 8 Dec 2013 00:04:11 +0000 (00:04 +0000)]
Merging r196535:
------------------------------------------------------------------------
r196535 | apazos | 2013-12-05 13:13:24 -0800 (Thu, 05 Dec 2013) | 1 line

Implemented vget/vset_lane_f16 intrinsics
------------------------------------------------------------------------

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

11 years agoMerging r196533:
Bill Wendling [Sun, 8 Dec 2013 00:03:53 +0000 (00:03 +0000)]
Merging r196533:
------------------------------------------------------------------------

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

11 years agoMerging r196456:
Bill Wendling [Sun, 8 Dec 2013 00:03:41 +0000 (00:03 +0000)]
Merging r196456:
------------------------------------------------------------------------

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

11 years agoMerging r196362:
Bill Wendling [Sun, 8 Dec 2013 00:03:29 +0000 (00:03 +0000)]
Merging r196362:
------------------------------------------------------------------------

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

11 years agoMerging r196361:
Bill Wendling [Sun, 8 Dec 2013 00:03:17 +0000 (00:03 +0000)]
Merging r196361:
------------------------------------------------------------------------
r196361 | kevinqin | 2013-12-04 00:02:11 -0800 (Wed, 04 Dec 2013) | 1 line

[AArch64 NEON] Add ACLE intrinsic vceqz_f64.
------------------------------------------------------------------------

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

11 years agoMerging r196360:
Bill Wendling [Sun, 8 Dec 2013 00:03:01 +0000 (00:03 +0000)]
Merging r196360:
------------------------------------------------------------------------

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

11 years agoMerging r196359:
Bill Wendling [Sun, 8 Dec 2013 00:02:49 +0000 (00:02 +0000)]
Merging r196359:
------------------------------------------------------------------------
r196359 | kevinqin | 2013-12-03 23:53:09 -0800 (Tue, 03 Dec 2013) | 1 line

[AArch64 NEON] Add missing compare intrinsics.
------------------------------------------------------------------------

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

11 years agoMerging r196211:
Bill Wendling [Sun, 8 Dec 2013 00:02:31 +0000 (00:02 +0000)]
Merging r196211:
------------------------------------------------------------------------
r196211 | haoliu | 2013-12-02 22:07:13 -0800 (Mon, 02 Dec 2013) | 3 lines

[AArch64]Add missing floating point convert, round and misc intrinsics.
E.g. int64x1_t vcvt_s64_f64(float64x1_t a) -> FCVTZS Dd, Dn

------------------------------------------------------------------------

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

11 years agoMerging r196209:
Bill Wendling [Sun, 8 Dec 2013 00:02:12 +0000 (00:02 +0000)]
Merging r196209:
------------------------------------------------------------------------
r196209 | haoliu | 2013-12-02 21:58:49 -0800 (Mon, 02 Dec 2013) | 3 lines

AArch64: add missing ACLE intrinsics mapping to general arithmetic operation from VFP instructions.
E.g. float64x1_t vadd_f64(float64x1_t a, float64x1_t b) -> FADD Dd, Dn, Dm.

------------------------------------------------------------------------

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

11 years agoMerging r196208:
Bill Wendling [Sun, 8 Dec 2013 00:01:55 +0000 (00:01 +0000)]
Merging r196208:
------------------------------------------------------------------------

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

11 years agoMerging r196199:
Bill Wendling [Sun, 8 Dec 2013 00:01:42 +0000 (00:01 +0000)]
Merging r196199:
------------------------------------------------------------------------
r196199 | haoliu | 2013-12-02 19:40:08 -0800 (Mon, 02 Dec 2013) | 3 lines

AArch64: Add missing scalar pair intrinsics.
E.g. "float32_t vaddv_f32(float32x2_t a)" to be matched into "faddp s0, v1.2s".

------------------------------------------------------------------------

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

11 years agoMerging r196198:
Bill Wendling [Sun, 8 Dec 2013 00:01:25 +0000 (00:01 +0000)]
Merging r196198:
------------------------------------------------------------------------

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

11 years agoMerging r196192:
Bill Wendling [Sun, 8 Dec 2013 00:01:12 +0000 (00:01 +0000)]
Merging r196192:
------------------------------------------------------------------------

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

11 years agoMerging r196191:
Bill Wendling [Sun, 8 Dec 2013 00:01:00 +0000 (00:01 +0000)]
Merging r196191:
------------------------------------------------------------------------
r196191 | jiangning | 2013-12-02 17:33:16 -0800 (Mon, 02 Dec 2013) | 2 lines

Add some missing AArch64 Neon intrinsics like vuqadd_s64 and friends.

------------------------------------------------------------------------

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

11 years agoMerging r196190:
Bill Wendling [Sun, 8 Dec 2013 00:00:06 +0000 (00:00 +0000)]
Merging r196190:
------------------------------------------------------------------------

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

11 years agoMerging r196189:
Bill Wendling [Sat, 7 Dec 2013 23:59:52 +0000 (23:59 +0000)]
Merging r196189:
------------------------------------------------------------------------
r196189 | jiangning | 2013-12-02 17:28:55 -0800 (Mon, 02 Dec 2013) | 2 lines

Add some missing AArch64 Neon intrinsics like vmull_high_n_s16 and friends.

------------------------------------------------------------------------

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

11 years agoMerging r196488:
Bill Wendling [Sat, 7 Dec 2013 23:53:50 +0000 (23:53 +0000)]
Merging r196488:
------------------------------------------------------------------------
r196488 | rsmith | 2013-12-05 00:30:59 -0800 (Thu, 05 Dec 2013) | 4 lines

PR17983: Fix crasher bug in C++1y mode when performing a non-global array
delete on a class which has no array cookie and has no class-specific operator
new.

------------------------------------------------------------------------

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

11 years agoMerging r196658:
Bill Wendling [Sat, 7 Dec 2013 21:19:02 +0000 (21:19 +0000)]
Merging r196658:
------------------------------------------------------------------------
r196658 | d0k | 2013-12-07 08:12:52 -0800 (Sat, 07 Dec 2013) | 7 lines

CodeGen: Don't emit linkage on thunks that aren't emitted because they're vararg.

This can happen when we're trying to emit a thunk with available_externally
linkage with optimization enabled but bail because it doesn't make sense
for vararg functions.

PR18098.
------------------------------------------------------------------------

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

11 years agoMerging r196538:
Bill Wendling [Fri, 6 Dec 2013 19:12:59 +0000 (19:12 +0000)]
Merging r196538:
------------------------------------------------------------------------
r196538 | joerg | 2013-12-05 13:27:58 -0800 (Thu, 05 Dec 2013) | 2 lines

For NetBSD, use arm1176jzf-s as default CPU for ARMv6.

------------------------------------------------------------------------

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

11 years agoMerging r196532:
Bill Wendling [Fri, 6 Dec 2013 19:12:36 +0000 (19:12 +0000)]
Merging r196532:
------------------------------------------------------------------------
r196532 | joerg | 2013-12-05 13:07:29 -0800 (Thu, 05 Dec 2013) | 2 lines

Pass down the target CPU to the system assembler for NetBSD/ARM.

------------------------------------------------------------------------

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

11 years agoMerging r196459:
Bill Wendling [Fri, 6 Dec 2013 09:07:48 +0000 (09:07 +0000)]
Merging r196459:
------------------------------------------------------------------------
r196459 | rtrieu | 2013-12-04 18:52:09 -0800 (Wed, 04 Dec 2013) | 2 lines

Remove unused variable.

------------------------------------------------------------------------

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

11 years agoMerging r196387:
Bill Wendling [Thu, 5 Dec 2013 18:35:37 +0000 (18:35 +0000)]
Merging r196387:
------------------------------------------------------------------------
r196387 | aaronballman | 2013-12-04 07:32:26 -0800 (Wed, 04 Dec 2013) | 1 line

When parsing ignored attribute arguments, presuming the first argument is an unresolved identifier the same way that we do for unknown arguments. This resolves PR18075, where we regressed the handling of OpenBSD's bounded attribute.
------------------------------------------------------------------------

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

11 years agoMerging r196454:
Bill Wendling [Thu, 5 Dec 2013 05:25:04 +0000 (05:25 +0000)]
Merging r196454:
------------------------------------------------------------------------
r196454 | faisalv | 2013-12-04 17:40:41 -0800 (Wed, 04 Dec 2013) | 43 lines

Fix init-captures for generic lambdas.

For an init capture, process the initialization expression
right away.  For lambda init-captures such as the following:
const int x = 10;
 auto L = [i = x+1](int a) {
   return [j = x+2,
          &k = x](char b) { };
 };
keep in mind that each lambda init-capture has to have:
 - its initialization expression executed in the context
   of the enclosing/parent decl-context.
 - but the variable itself has to be 'injected' into the
   decl-context of its lambda's call-operator (which has
   not yet been created).
Each init-expression is a full-expression that has to get
Sema-analyzed (for capturing etc.) before its lambda's
call-operator's decl-context, scope & scopeinfo are pushed on their
respective stacks.  Thus if any variable is odr-used in the init-capture
it will correctly get captured in the enclosing lambda, if one exists.
The init-variables above are created later once the lambdascope and
call-operators decl-context is pushed onto its respective stack.

Since the lambda init-capture's initializer expression occurs in the
context of the enclosing function or lambda, therefore we can not wait
till a lambda scope has been pushed on before deciding whether the
variable needs to be captured.  We also need to process all
lvalue-to-rvalue conversions and discarded-value conversions,
so that we can avoid capturing certain constant variables.
For e.g.,
 void test() {
  const int x = 10;
  auto L = [&z = x](char a) { <-- don't capture by the current lambda
    return [y = x](int i) { <-- don't capture by enclosing lambda
         return y;
    }
  };
If x was not const, the second use would require 'L' to capture, and
that would be an error.
Make sure TranformLambdaExpr is also aware of this.

Patch approved by Richard (Thanks!!)
http://llvm-reviews.chandlerc.com/D2092
------------------------------------------------------------------------

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

11 years agoMerging r196423:
Bill Wendling [Thu, 5 Dec 2013 05:24:30 +0000 (05:24 +0000)]
Merging r196423:
------------------------------------------------------------------------
r196423 | faisalv | 2013-12-04 14:43:08 -0800 (Wed, 04 Dec 2013) | 17 lines

Fix for PR18052 - Lambdas within NSDMI's and default arguments in Nested classes.

Clang currently croaks on the following:
  struct X1 {
    struct X2 {
      int L = ([] (int i) { return i; })(2);
    };
  };

asserting that the containing lexical context of the lambda is not Sema's cur context, when pushing the lambda's decl context on.

This occurs because (prior to this patch) getContainingDC always returns the non-nested class for functions at class scope (even for inline member functions of nested classes (to account for delayed parsing of their bodies)).  The patch addresses this by having getContainingDC always return the lexical DC for a lambda's call operator.

Link to the bug: http://llvm.org/bugs/show_bug.cgi?id=18052
Link to Richard Smith's feedback on phabricator: http://llvm-reviews.chandlerc.com/D2331

Thanks!
------------------------------------------------------------------------

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

11 years agoMerging r196370:
Richard Sandiford [Wed, 4 Dec 2013 10:02:36 +0000 (10:02 +0000)]
Merging r196370:
------------------------------------------------------------------------
r196370 | rsandifo | 2013-12-04 09:59:57 +0000 (Wed, 04 Dec 2013) | 14 lines

[SystemZ] Fix handling of pass-by-pointer arguments

I'd misunderstood getIndirect() to mean that the argument should be passed
as a pointer at the ABI level, with the ByVal argument choosing caller-copy
semantics over no-caller-copy (callee-copy-on-write) semantics.  But
getIndirect(x) actually means that x is passed by pointer at the IR
level but (at least on all other targets I looked at) directly at the
ABI level.  getIndirect(x, false) selects a pointer to a caller-made
copy, which is what SystemZ was aiming for.

This fixes a miscompilation of c-index-test.  Structure arguments were being
passed by pointer, but no copy was being made, so a write in the callee
stomped over a caller's local variable.

------------------------------------------------------------------------

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

11 years agoAdd blurb to release notes about typo correction improvements.
Kaelyn Uhrain [Wed, 4 Dec 2013 02:25:41 +0000 (02:25 +0000)]
Add blurb to release notes about typo correction improvements.

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

11 years agoMerging r196215:
Bill Wendling [Tue, 3 Dec 2013 07:40:27 +0000 (07:40 +0000)]
Merging r196215:
------------------------------------------------------------------------
r196215 | alp | 2013-12-02 22:53:39 -0800 (Mon, 02 Dec 2013) | 1 line

Documentation typo corrections
------------------------------------------------------------------------

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

11 years agoMerging r196206:
Bill Wendling [Tue, 3 Dec 2013 07:39:25 +0000 (07:39 +0000)]
Merging r196206:
------------------------------------------------------------------------
r196206 | jiangning | 2013-12-02 21:36:55 -0800 (Mon, 02 Dec 2013) | 4 lines

Patch by Ana Pazos.

Fixed vcopy_laneq_f64 intrinsic implementation.

------------------------------------------------------------------------

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

11 years agoMerging r196153:
Bill Wendling [Tue, 3 Dec 2013 07:39:04 +0000 (07:39 +0000)]
Merging r196153:
------------------------------------------------------------------------
r196153 | mcrosier | 2013-12-02 13:07:27 -0800 (Mon, 02 Dec 2013) | 2 lines

[AArch64] Implemented vcopy_lane patterns using scalar DUP instruction.
Patch by Ana Pazos!
------------------------------------------------------------------------

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

11 years agoMerging r196115:
Bill Wendling [Tue, 3 Dec 2013 05:11:19 +0000 (05:11 +0000)]
Merging r196115:
------------------------------------------------------------------------
r196115 | joerg | 2013-12-02 08:12:05 -0800 (Mon, 02 Dec 2013) | 2 lines

Assume ARMv6 for NetBSD for now for strex/ldrex.

------------------------------------------------------------------------

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

11 years agoAdd info about Clang diagnostic improvements.
Richard Trieu [Tue, 3 Dec 2013 01:35:18 +0000 (01:35 +0000)]
Add info about Clang diagnostic improvements.

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

11 years agoMention clang-cl in the release notes
Hans Wennborg [Mon, 2 Dec 2013 22:38:55 +0000 (22:38 +0000)]
Mention clang-cl in the release notes

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

11 years agoMerging r196114:
Bill Wendling [Mon, 2 Dec 2013 19:19:57 +0000 (19:19 +0000)]
Merging r196114:
------------------------------------------------------------------------
r196114 | joerg | 2013-12-02 08:09:34 -0800 (Mon, 02 Dec 2013) | 2 lines

NetBSD uses long derived size_t / ssize_t in all ARM ABIs.

------------------------------------------------------------------------

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

11 years agoMerged r195756:
Daniel Sanders [Mon, 2 Dec 2013 10:14:43 +0000 (10:14 +0000)]
Merged r195756:
------------------------------------------------------------------------
r195756 | atanasyan | 2013-11-26 11:58:04 +0000 (Tue, 26 Nov 2013) | 1 line

[Mips] Pass -mmsa option to the assembler.
------------------------------------------------------------------------

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

11 years agoMerged r195249:
Daniel Sanders [Mon, 2 Dec 2013 10:00:07 +0000 (10:00 +0000)]
Merged r195249:
------------------------------------------------------------------------
r195249 | atanasyan | 2013-11-20 13:53:20 +0000 (Wed, 20 Nov 2013) | 2 lines

[Mips] Take in account the -mfp64 command line option when build paths
to the crt*.o files, libraries and headers for the MIPS FSFS toolchain.
------------------------------------------------------------------------

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

11 years agoMerging r196058:
Bill Wendling [Mon, 2 Dec 2013 07:40:44 +0000 (07:40 +0000)]
Merging r196058:
------------------------------------------------------------------------

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

11 years agoMerging r196048:
Bill Wendling [Mon, 2 Dec 2013 07:38:30 +0000 (07:38 +0000)]
Merging r196048:
------------------------------------------------------------------------
r196048 | d0k | 2013-12-01 07:09:32 -0800 (Sun, 01 Dec 2013) | 3 lines

CommentLexer: When proceeding with a typo corrected name don't clobber the token.

This would crash if the token is used in another diagnostic. PR18051.
------------------------------------------------------------------------

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

11 years agoMerging r196045:
Bill Wendling [Mon, 2 Dec 2013 07:35:57 +0000 (07:35 +0000)]
Merging r196045:
------------------------------------------------------------------------
r196045 | d0k | 2013-12-01 03:48:10 -0800 (Sun, 01 Dec 2013) | 3 lines

Reenable ms inline asm test.

LLVM r196044 should make it pass.
------------------------------------------------------------------------

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

11 years agoMerging r196050:
Bill Wendling [Mon, 2 Dec 2013 02:05:28 +0000 (02:05 +0000)]
Merging r196050:
------------------------------------------------------------------------
r196050 | rafael | 2013-12-01 08:54:29 -0800 (Sun, 01 Dec 2013) | 5 lines

Handle CC and NoReturn when instantiating members of class templates.

Before we were considering them only when instantiating templates.

This fixes pr18033.
------------------------------------------------------------------------

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

11 years agoMerging r195943:
Bill Wendling [Sun, 1 Dec 2013 04:35:05 +0000 (04:35 +0000)]
Merging r195943:
------------------------------------------------------------------------
r195943 | haoliu | 2013-11-28 18:31:42 -0800 (Thu, 28 Nov 2013) | 2 lines

AArch64: Two intrinsics are expected to return float64 not float32 in arm_neon.h

------------------------------------------------------------------------

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

11 years agoMerging r195942:
Bill Wendling [Sun, 1 Dec 2013 04:34:50 +0000 (04:34 +0000)]
Merging r195942:
------------------------------------------------------------------------
r195942 | haoliu | 2013-11-28 18:13:17 -0800 (Thu, 28 Nov 2013) | 3 lines

Fix the problem that the range check for scalar narrow shift is too wide.
E.g. the immediate value of vshrns_n_s16 is [1,16], which should be [1,8].

------------------------------------------------------------------------

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

11 years agoMerging r195941:
Bill Wendling [Sun, 1 Dec 2013 04:34:31 +0000 (04:34 +0000)]
Merging r195941:
------------------------------------------------------------------------

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

11 years agoMerging r195940:
Bill Wendling [Sun, 1 Dec 2013 04:34:18 +0000 (04:34 +0000)]
Merging r195940:
------------------------------------------------------------------------
r195940 | jiangning | 2013-11-28 17:38:49 -0800 (Thu, 28 Nov 2013) | 2 lines

Add missing intrinsic function vbsl_f64 for AArch64 NEON.

------------------------------------------------------------------------

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