Eli Friedman
f798f65ccc
Implement the C++11 discarded value expression rules for volatile lvalues. <rdar://problem/10790820>.
...
llvm-svn: 157420
2012-05-24 22:04:19 +00:00
Justin Holewinski
c05323dd5c
Un-XFAIL CodeGen/builtins-nvptx.c now that the proper changes have
...
landed in LLVM core
llvm-svn: 157418
2012-05-24 21:39:33 +00:00
Justin Holewinski
907f7606f2
Remove the PTX back-end and all of its artifacts (triple, etc.)
...
This back-end was deprecated in favor of the NVPTX back-end.
NV_CONTRIB
llvm-svn: 157417
2012-05-24 21:38:21 +00:00
Owen Anderson
921082b883
Teach tblgen's set theory "sequence" operator to support an optional stride operand.
...
llvm-svn: 157416
2012-05-24 21:37:08 +00:00
Chad Rosier
fd7469c947
Typo. Patch by Nicklas Bo Jensen <nbjensen@gmail.com>.
...
llvm-svn: 157415
2012-05-24 21:17:47 +00:00
Eli Friedman
f92f6454ef
A minor tweak to the new volatile lvalue warning: don't warn on "(void)x", where "x" refers to a local variable. This should silence a useless warning in compiler-rt and other places.
...
llvm-svn: 157414
2012-05-24 21:05:41 +00:00
John McCall
d65dbd8e6a
XFAIL this test, which does not pass on trunk since the grand
...
renaming in r157403.
llvm-svn: 157413
2012-05-24 20:58:21 +00:00
Ted Kremenek
8fb6723e3a
Set svn:keywords property to Id
...
llvm-svn: 157412
2012-05-24 20:16:00 +00:00
Ted Kremenek
e1e89370f0
New & improved man page attached, now with standard license added.
...
Plus, a patch for scan-build.
* mdoc corrections
* slightly more compact output
* same license as scan-build
* DESCRIPTION describes
* Default checkers corrected & explained
* Authors credited
The patch adds support for --help-checkers. It just lists the default
checkers by recursively invoking "scan-build -h" and looking for the
magic '+' signs.
Patch by James Lowden!
llvm-svn: 157411
2012-05-24 20:13:47 +00:00
Akira Hatanaka
a649cc75b3
Turn on mips16 pseudo op when compiling for mips16.
...
Expand test case for this.
Patch by Reed Kotler.
llvm-svn: 157410
2012-05-24 18:37:43 +00:00
Akira Hatanaka
df98a7a34d
Enable Mips16 compiler to compile a null program.
...
First code from the Mips16 compiler. Includes trivial test program.
Patch by Reed Kotler.
llvm-svn: 157408
2012-05-24 18:32:33 +00:00
Fariborz Jahanian
246f519a51
objective-c: Fixes a corner case and interesting bug.
...
Where diagnostic about unfound property is not
issued in the context where a setter is looked up
in situation in which name and property name differ
in their first letter case. // rdar://11363363
llvm-svn: 157407
2012-05-24 18:29:41 +00:00
Meador Inge
6fef6e6466
Adding back a right parenthesis that was dropped in r157388.
...
llvm-svn: 157406
2012-05-24 18:16:39 +00:00
Johnny Chen
a0d4b5da35
Fix missing Resources/Python directory for macosx build.
...
llvm-svn: 157405
2012-05-24 18:14:18 +00:00
Argyrios Kyrtzidis
bb2be0dca3
[objcmt] Add test case for r157395.
...
llvm-svn: 157404
2012-05-24 17:49:22 +00:00
Justin Holewinski
83e9668133
Replace PTX back-end with NVPTX back-end in all places where Clang cares
...
NV_CONTRIB
llvm-svn: 157403
2012-05-24 17:43:12 +00:00
Anna Zaks
6b7b7e66d1
[analyzer] Minor cleanup to checkers' help text.
...
llvm-svn: 157402
2012-05-24 17:31:59 +00:00
Anna Zaks
d0867105f4
[analyzer] Treat cast of array to reference in the same way as array to
...
pointer.
Fixes one of the crashes reported in PR12874.
llvm-svn: 157401
2012-05-24 17:31:57 +00:00
Anna Zaks
cb4c483dbe
[analyzer] Fix typo. Thanks Jordy.
...
llvm-svn: 157400
2012-05-24 17:31:54 +00:00
Manuel Klimek
24c4805b3b
Adds menu sidebar to the docs.
...
llvm-svn: 157399
2012-05-24 17:16:23 +00:00
David Blaikie
4fd12a6abc
Silence Clang's -Wlogical-op-parentheses warning.
...
I'm not sure it's really worth expressing this as a range rather than 3 specific equalities, but it doesn't seem fundamentally wrong either.
llvm-svn: 157398
2012-05-24 17:11:00 +00:00
Manuel Klimek
b76810fa94
Updates the tooling docs with the links to the tutorials and
...
adds the menu include.
llvm-svn: 157397
2012-05-24 17:09:10 +00:00
Manuel Klimek
3115e3d171
Adds a tutorial for how to write clang plugins.
...
llvm-svn: 157396
2012-05-24 17:07:18 +00:00
Argyrios Kyrtzidis
b482260748
[objcmt] Warn when modern objc migrator does not convert a NSNumber message because it requires a cast.
...
rdar://11525138
llvm-svn: 157395
2012-05-24 16:48:23 +00:00
Fariborz Jahanian
870265636c
objc: change option to be -Wobjc-interface-ivars
...
llvm-svn: 157394
2012-05-24 16:19:51 +00:00
Tobias Grosser
6b31d170a4
Add half support to LLVM (for OpenCL)
...
Submitted by: Anton Lokhmotov <Anton.Lokhmotov@arm.com>
Approved by: o Anton Korobeynikov
o Micah Villmow
o David Neto
llvm-svn: 157393
2012-05-24 15:59:06 +00:00
Dmitry Vyukov
d1b9521e48
tsan: compilation of tests with newest clang
...
llvm-svn: 157392
2012-05-24 14:55:12 +00:00
Dmitry Vyukov
30c32a8819
tsan: fix compilation with newest clang
...
llvm-svn: 157391
2012-05-24 14:50:33 +00:00
Meador Inge
4d80ce90f2
Testing commit access
...
llvm-svn: 157389
2012-05-24 14:20:13 +00:00
Dmitry Vyukov
7fb7330469
asan/tsan: weak interceptors
...
The idea isthat asan/tsan can survive if user intercepts the same functions. At the same time user has an ability to call back into asan/tsan runtime. See the following tests for examples:
asan/output_tests/interception_failure_test-linux.cc
asan/output_tests/interception_test-linux.cc
asan/output_tests/interception_malloc_test-linux.cc
llvm-svn: 157388
2012-05-24 13:54:31 +00:00
Manuel Klimek
9ffebff74c
Apply review comment from Jordan Rose.
...
llvm-svn: 157387
2012-05-24 12:46:43 +00:00
Stepan Dyatkovskiy
183d18aa5a
PR1255 related changes (case ranges):
...
LowerSwitch::Clusterify : main functinality was replaced with CRSBuilder::optimize, so big part of Clusterify's code was reduced.
test/Transform/LowerSwitch/feature.ll - this test was refactored: grep + count was replaced with FileCheck usage.
llvm-svn: 157384
2012-05-24 09:33:20 +00:00
Dmitry Vyukov
65c21a5e6d
tsan: add a flag to control RunningOnValgrind() return value
...
llvm-svn: 157383
2012-05-24 09:24:45 +00:00
Patrik Hägglund
26dcb95dfc
Fix -Wcovered-switch-default warning.
...
llvm-svn: 157381
2012-05-24 07:51:46 +00:00
Craig Topper
bdf39a46a3
Convert assert(0) to llvm_unreachable.
...
llvm-svn: 157380
2012-05-24 07:02:50 +00:00
Bill Wendling
2495bca543
Remove 3.1 release notes to get ready for current development cycle.
...
llvm-svn: 157379
2012-05-24 06:42:56 +00:00
Bill Wendling
6081fa19c5
Remove old release notes. Ready them for additions from current development
...
cycle.
llvm-svn: 157378
2012-05-24 06:38:09 +00:00
Craig Topper
9520719b9b
Mark some static arrays as const.
...
llvm-svn: 157377
2012-05-24 06:35:32 +00:00
Craig Topper
273b0d7be5
Use uint16_t to store registers in static tables. Matches other tables.
...
llvm-svn: 157375
2012-05-24 06:09:56 +00:00
Craig Topper
be064d0136
Use uint16_t to store register number in static tables to match other tables.
...
llvm-svn: 157374
2012-05-24 05:55:47 +00:00
Craig Topper
01736f866a
Make some opcode tables static and const. Allows code to avoid making copies to pass the tables around.
...
llvm-svn: 157373
2012-05-24 05:17:00 +00:00
Seth Cantrell
ac6fb8f9f6
fix Bug 12924
...
http://llvm.org/bugs/show_bug.cgi?id=12924
This issue was that the source location was pointing to a
non-printable character and so CaretEnd was pointing one
_column_ past the caret but not one _character_ past the
caret. So the conversion between column and byte locations
wasn't working (because the conversion is only valid from
the first column or byte of a character).
llvm-svn: 157372
2012-05-24 05:14:44 +00:00
Joel Jones
2edc84ee60
Reflect that tblgen is now llvm-tblgen
...
llvm-svn: 157371
2012-05-24 04:38:50 +00:00
Richard Smith
ce4f608f86
DR1152 / PR12931 / PR6177: A candidate function which requires binding a const
...
volatile reference to a temporary is not viable. My interpretation is that
DR1152 was a bugfix, not a rule change for C++11, so this is not conditional on
the language mode. This matches g++'s behavior.
llvm-svn: 157370
2012-05-24 04:29:20 +00:00
Craig Topper
e4260f911b
Mark a couple arrays as static and const. Use array_lengthof instead of sizeof/sizeof.
...
llvm-svn: 157369
2012-05-24 04:22:05 +00:00
Craig Topper
42b96d1b74
Mark a static array as const.
...
llvm-svn: 157368
2012-05-24 04:11:15 +00:00
Craig Topper
2fbd130a79
Mark a static table as const. Shrink opcode size in static tables to uint16_t. Simplify loop iterating over one of those tables. No functional change intended.
...
llvm-svn: 157367
2012-05-24 03:59:11 +00:00
Jim Ingham
777e6d01ea
Change the "Debug" build to use the current MacOSX SDK. Fix the swig builder to have an explicit
...
short-circuit of the Python SWIG building, rather than relying on the SDKROOT being set.
llvm-svn: 157363
2012-05-24 01:16:09 +00:00
Eli Friedman
c11535c248
Add a warning to diagnose statements in C++ like "*(volatile int*)x;". Conceptually, this is part of -Wunused-value, but I added a separate flag -Wunused-volatile-lvalue so it doesn't get turned off by accident with -Wno-unused-value. I also made a few minor improvements to existing unused value warnings in the process. <rdar://problem/11516811>.
...
llvm-svn: 157362
2012-05-24 00:47:05 +00:00
Johnny Chen
a95ce623d8
rdar://problem/11457634
...
Supports the use-case scenario of immediately continuing the process once attached.
Add a simple completion test case from "process attach --con" to "process attach --continue ".
llvm-svn: 157361
2012-05-24 00:43:00 +00:00