Tom Stellard
5558304ba2
R600: Add processor type for Hawaii
...
llvm-svn: 194751
2013-11-14 23:45:53 +00:00
Joerg Sonnenberger
7a1ae9f1a1
PR 17916: Don't fail if xcrun is not present.
...
llvm-svn: 194745
2013-11-14 23:18:08 +00:00
David Peixotto
4afe079663
Fix typo
...
llvm-svn: 194744
2013-11-14 22:58:17 +00:00
David Peixotto
dfb661434d
Pass -Wa,-I and -Xassembler -I args to integrated assembler
...
This patch adds -I to the arguments that are passed to the
integrated assembler from -Wa, and -Xassembler args.
llvm-svn: 194743
2013-11-14 22:52:58 +00:00
Hans Wennborg
ae78e23e5f
Install clang-format's editor integrations in $PREFIX/share/clang/
...
They were previously not part of the install target.
Differential Revision: http://llvm-reviews.chandlerc.com/D2154
llvm-svn: 194741
2013-11-14 22:48:06 +00:00
Richard Smith
00f5d8927b
DR408: If a static data member of incomplete array type is declared in a class
...
template, that member has a dependent type (even if we can see the definition
of the member of the primary template), because the array size could change in
a member specialization.
Patch by Karthik Bhat!
llvm-svn: 194740
2013-11-14 22:40:45 +00:00
Warren Hunt
d840e40113
Makes A Microsoft Layout CodeGen Test Explicit
...
This patch tests introduces a proper codegen test in place of the
"codegen no longer crashes" test introduced in r193664. The test is also
moved from layout to CodeGenCXX.
Differential Revision: http://llvm-reviews.chandlerc.com/D2174
llvm-svn: 194739
2013-11-14 22:34:59 +00:00
Richard Smith
d3d5c3300e
Add -Wdeprecated-writable-string in C++ to -Wc++11-compat, since it's ill-formed in C++11.
...
llvm-svn: 194736
2013-11-14 22:22:31 +00:00
Chad Rosier
7aaee48bf0
[AArch64] Add support for legacy AArch32 NEON scalar shift right by immediate
...
and accumulate instructions.
llvm-svn: 194732
2013-11-14 22:02:24 +00:00
Fariborz Jahanian
da267d0551
ObjectiveC migrator: This patch sets access property
...
attributes on 'readonly' properties. // rdar://15460787
llvm-svn: 194718
2013-11-14 18:28:58 +00:00
Joey Gouly
561bba2e9f
[OpenCL] Make sure we put string literals in the constant address space.
...
llvm-svn: 194717
2013-11-14 18:26:10 +00:00
Jordan Rose
dba2692865
[analyzer] Treat MSVC's _wassert as noreturn.
...
This makes sure the analyzer actually honors assert() in an MSVC project.
Patch by Anders Montonen!
llvm-svn: 194716
2013-11-14 17:55:00 +00:00
Argyrios Kyrtzidis
61f2032d3b
[objcmt] Introduce "objcmt-white-list-dir-path=" option.
...
This options accepts a path to a directory, collects the filenames of the files
it contains, and the migrator will only modify files with the same filename.
llvm-svn: 194710
2013-11-14 16:33:29 +00:00
Argyrios Kyrtzidis
c47c63b2dd
[objcmt] -objcmt-atomic-property & -objcmt-ns-nonatomic-iosonly are companion flags.
...
Ignore them when determining if some transformation was enabled.
llvm-svn: 194709
2013-11-14 16:33:20 +00:00
Benjamin Kramer
e8a2c18bc7
Move classes into anonymous namespaces.
...
llvm-svn: 194706
2013-11-14 15:46:10 +00:00
Simon Atanasyan
55df3bb5e0
[Mips] Add tests for MIPS/MIPS64 type defines and type limits macros. No
...
functional changes - just reflection of the current state.
llvm-svn: 194690
2013-11-14 11:15:10 +00:00
Kevin Qin
3058bf4533
Remove a test failure.
...
llvm-svn: 194678
2013-11-14 07:00:00 +00:00
Kevin Qin
91ac11387c
Add test case for AArch64 NEON poly64 intrinsic.
...
llvm-svn: 194674
2013-11-14 06:49:00 +00:00
Kevin Qin
9e255dd532
Add test cases for AArch64 NEON instruction set misc.
...
llvm-svn: 194672
2013-11-14 06:44:42 +00:00
Ted Kremenek
435b4c786a
Revert r194663 and r194647.
...
Per feedback from Jordan Rose I realized this wasn't the right way to go.
llvm-svn: 194664
2013-11-14 04:44:56 +00:00
Ted Kremenek
428b61dc14
Refine -Wunused-variable to only suppress warning for __bridge_transfer, not all bridge casts.
...
Also refine test case to capture the intention of this suppression. Essentially
some developers use __bridge_transfer as if it were a safe CFRelease.
llvm-svn: 194663
2013-11-14 04:27:00 +00:00
Kevin Qin
caac85e612
[AArch64 neon] support poly64 and relevant intrinsic functions.
...
llvm-svn: 194660
2013-11-14 03:29:16 +00:00
Kevin Qin
1718af6f0a
Implement aarch64 neon instruction class misc.
...
llvm-svn: 194657
2013-11-14 02:45:18 +00:00
Serge Pavlov
3cb8022849
Added warning on structures/unions that are empty or contain only
...
bit fields of zero size. Warnings are generated in C++ mode and if
only such type is defined inside extern "C" block.
The patch fixed PR5065.
Differential Revision: http://llvm-reviews.chandlerc.com/D2151
llvm-svn: 194653
2013-11-14 02:13:03 +00:00
Jiangning Liu
18b707cb3f
Implement AArch64 NEON instruction set AdvSIMD (table).
...
llvm-svn: 194649
2013-11-14 01:57:55 +00:00
Ted Kremenek
f6171b3cdf
Suppress -Wunused-variable when initializer uses bridge casts for memory management.
...
Fixes <rdar://problem/15432770>.
llvm-svn: 194647
2013-11-14 01:42:17 +00:00
Fariborz Jahanian
a0f0395b9f
Use a more realistic NS class names in
...
objc_bridge attributes in my previous test.
Per Jordan's comment.
llvm-svn: 194645
2013-11-14 01:00:26 +00:00
Fariborz Jahanian
ae02d1552f
ObjectiveC ARC. objc_bridge attribute should be applied to
...
toll-free bridging cf types only. // rdar//15454846 wip.
llvm-svn: 194640
2013-11-14 00:43:05 +00:00
Dmitri Gribenko
15076d5d30
Work around a bug in old gcc on the FreeBSD bot, which complains about
...
ambiguity between index() function and clang::index namespace.
llvm-svn: 194638
2013-11-14 00:36:24 +00:00
Fariborz Jahanian
0a0a39708c
ObjectiveC ARC. Introduce a new attribute, 'objc_bridge'
...
that teaches the compiler about a subset of toll-free
bridging semantics. This is wip. // rdar://15454846
llvm-svn: 194633
2013-11-13 23:59:17 +00:00
Argyrios Kyrtzidis
ee02a8a926
[objcmt] If no objcmt options were specified, default to enable literals+subscripting.
...
llvm-svn: 194629
2013-11-13 23:38:22 +00:00
Argyrios Kyrtzidis
55ecf99285
[objcmt] Transfer the objcmt flags from the driver to cc1 invocation and
...
instantiate ObjCMigrateASTConsumer with the specific options that were enabled.
llvm-svn: 194628
2013-11-13 23:38:20 +00:00
Argyrios Kyrtzidis
7a2645f91f
[objcmt] If the frontend option is frontend::MigrateSource then we don't need to create
...
the arcmt wrappers.
llvm-svn: 194627
2013-11-13 23:38:17 +00:00
Rafael Espindola
d967badc64
Don't use alias from derived dtor to base dtor at -O0.
...
This patch disables aliasing (and rauw) of derived dtors to base dtors at -O0.
This optimization can have a negative impact on the debug quality.
This was a latent bug for some time with local classes, but got noticed when it
was generalized and broke gdb's destrprint.exp.
llvm-svn: 194618
2013-11-13 23:20:45 +00:00
Reid Kleckner
59e4a6f5e2
-fms-extensions: Recognize _alloca as an alias for the alloca builtin
...
Differential Revision: http://llvm-reviews.chandlerc.com/D1989
llvm-svn: 194617
2013-11-13 22:58:53 +00:00
Reid Kleckner
cf8933d1b7
Only provide MS builtins when -fms-extensions is on
...
We already have builtins that are only available in GNU mode, so this
mirrors that.
Reviewers: rsmith
Differential Revision: http://llvm-reviews.chandlerc.com/D2128
llvm-svn: 194615
2013-11-13 22:47:22 +00:00
Dmitri Gribenko
7244bee1a8
libclang does not depend directly on clangFormat; but clangIndex does
...
llvm-svn: 194611
2013-11-13 22:26:04 +00:00
Dmitri Gribenko
9e6051135a
Documentation parsing: move comment-to-XML conversion routines to libIndex
...
llvm-svn: 194610
2013-11-13 22:16:51 +00:00
Warren Hunt
486e71460d
No functional change. Renaming a variable in RecordLayoutBuilder and
...
improving comments to make documentation more accurate.
Differential Revision:http://llvm-reviews.chandlerc.com/D2172
llvm-svn: 194609
2013-11-13 22:16:13 +00:00
Weiming Zhao
2005b4816a
Add test case for r194593
...
llvm-svn: 194606
2013-11-13 21:40:17 +00:00
Dmitri Gribenko
ff43160208
Make inline functions in a header file static.
...
llvm-svn: 194603
2013-11-13 20:19:22 +00:00
Chad Rosier
e714a962b5
[AArch64] Tests for legacy AArch32 NEON scalar shift by immediate instructions.
...
A number of non-overloaded intrinsics have been replaced by thier overloaded
counterparts.
llvm-svn: 194599
2013-11-13 20:05:44 +00:00
Rafael Espindola
7cf6f00f56
Drop windows specific handling of equivalent destructors.
...
Now that the relevant tests use -mconstructor-aliases and the missing
features have been implemented, we can just drop this.
No functionality change.
llvm-svn: 194595
2013-11-13 18:46:32 +00:00
Weiming Zhao
580dcfbd27
Adds ARM backend options: -mrestrict-it and -mno-restrict-it
...
To support the generation of IT block in Thumbv7 way or
Thumbv8 way
llvm-svn: 194593
2013-11-13 18:31:23 +00:00
Argyrios Kyrtzidis
3e8547a5ca
[objcmt] Use FileIDs directly instead of their hash value.
...
No functionality change.
llvm-svn: 194590
2013-11-13 18:20:31 +00:00
Timur Iskhodzhanov
4ddf59201a
No need to use CGM.getCXXABI() from CXXABI
...
llvm-svn: 194584
2013-11-13 16:03:43 +00:00
Alexander Kornienko
393e3088a1
Correctly mark first token in the presence of UTF-8 BOM.
...
Summary: Fixes http://llvm.org/PR17753
Reviewers: klimek
Reviewed By: klimek
CC: cfe-commits, klimek
Differential Revision: http://llvm-reviews.chandlerc.com/D2159
llvm-svn: 194576
2013-11-13 14:04:17 +00:00
Manuel Klimek
6192c93a53
Add an optional mapping from source paths to source contents.
...
This allows compilation database implementations for distributed build
systems to hand all data to the client to make parsing independent of
the file system.
llvm-svn: 194571
2013-11-13 13:23:27 +00:00
Diego Novillo
5c29705c13
Add -fprofile-sample-use to Clang's driver.
...
This adds a new option -fprofile-sample-use=filename to Clang. It
tells the driver to schedule the SampleProfileLoader pass and passes
on the name of the profile file to use.
llvm-svn: 194567
2013-11-13 12:22:39 +00:00
Serge Pavlov
750db65bac
Warn on duplicate function specifier
...
This patch fixes PR8264. Duplicate qualifiers already are diagnozed,
now the same diagnostics is issued for duplicate function specifiers.
Differential Revision: http://llvm-reviews.chandlerc.com/D2025
llvm-svn: 194559
2013-11-13 06:57:53 +00:00