| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
There are no tests for this yet because I still need to finish the
YAML -> COFF converter so we don't get binary files checked in.
llvm-svn: 156100
|
| |
|
|
|
|
| |
breakpoint on multiple names.
llvm-svn: 156098
|
| |
|
|
|
|
|
| |
prototypes should both return `struct objc_class *`.
// rdar://11375495
llvm-svn: 156097
|
| |
|
|
|
|
| |
Part of rdar://11285725
llvm-svn: 156096
|
| |
|
|
| |
llvm-svn: 156095
|
| |
|
|
| |
llvm-svn: 156094
|
| |
|
|
| |
llvm-svn: 156093
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Some of the NSAssert macros in OS X 10.7 are implemented in a way that
adds extra arguments that trigger the -Wformat-extra-args warning.
Earlier versions of clang failed to detect those -Wformat issues, but now
that clang is reporting those problems, we need to quiet them since there's
nothing to be done to fix them. <rdar://problem/11317765>
I don't know how to write a testcase for this. Suggestions welcome.
Patch by Ted Kremenek!
llvm-svn: 156092
|
| |
|
|
| |
llvm-svn: 156091
|
| |
|
|
|
|
| |
EXCLUDE_FROM_ALL property.
llvm-svn: 156090
|
| |
|
|
|
|
| |
width of the two to avoid truncation.
llvm-svn: 156089
|
| |
|
|
|
|
| |
rdar://problem/11374653
llvm-svn: 156088
|
| |
|
|
| |
llvm-svn: 156087
|
| |
|
|
|
|
|
|
|
|
|
|
| |
cases in switch statements. Also add a [[clang::fallthrough]] attribute, which
can be used to suppress the warning in the case of intentional fallthrough.
Patch by Alexander Kornienko!
The handling of C++11 attribute namespaces in this patch is temporary, and will
be replaced with a cleaner mechanism in a subsequent patch.
llvm-svn: 156086
|
| |
|
|
|
|
|
|
|
|
| |
specifically checks for equality to null.
Enforcing this general practice, which keeps the analyzer less
noisy, in the CString Checker. This change suppresses "Assigned value is
garbage or undefined" warning in the added test case.
llvm-svn: 156085
|
| |
|
|
| |
llvm-svn: 156084
|
| |
|
|
|
|
|
|
| |
Many register classes only have a few super-registers, so it is not
necessary to keep individual bit masks for all possible sub-register
indices.
llvm-svn: 156083
|
| |
|
|
|
|
| |
was unintentional. Found by -Wimplicit-fallthrough, patch by Alexander Kornienko!
llvm-svn: 156082
|
| |
|
|
|
|
|
|
| |
failing to lex the string, as suggested by Eli.
Part of rdar://11305263.
llvm-svn: 156081
|
| |
|
|
| |
llvm-svn: 156080
|
| |
|
|
|
|
|
| |
aren't necessary to reproduce the clang crash.
Part of rdar://11285725
llvm-svn: 156079
|
| |
|
|
|
|
|
| |
under -Wobjc-missing-property-synthesis which must be
opted-in. // rdar://11295716
llvm-svn: 156078
|
| |
|
|
| |
llvm-svn: 156077
|
| |
|
|
|
|
|
|
| |
Some targets have no sub-registers at all. Use the TargetRegisterInfo
versions of composeSubRegIndices(), getSubClassWithSubReg(), and
getMatchingSuperRegClass() for those targets.
llvm-svn: 156075
|
| |
|
|
| |
llvm-svn: 156074
|
| |
|
|
|
|
| |
This adds new instructions for Hexagon V4 architecture.
llvm-svn: 156071
|
| |
|
|
|
|
|
|
| |
there is no need to fallback to visitCallSite.
This gives a 0.9% in a test case
llvm-svn: 156069
|
| |
|
|
| |
llvm-svn: 156067
|
| |
|
|
|
|
| |
double and long double.
llvm-svn: 156064
|
| |
|
|
|
|
| |
assembler. Turn it on explicitly on all platforms by the "-integrated-as" option.
llvm-svn: 156063
|
| |
|
|
|
|
|
|
| |
shouldn't be converted to the result type. Fixes PR12206 and dupe PR12510.
This was probably the original intent of r133041 (also me, a year ago).
llvm-svn: 156062
|
| |
|
|
| |
llvm-svn: 156061
|
| |
|
|
|
|
| |
vector elements.
llvm-svn: 156060
|
| |
|
|
|
|
| |
lower half correctly. Missed in r155982.
llvm-svn: 156059
|
| |
|
|
| |
llvm-svn: 156058
|
| |
|
|
|
|
| |
Fixes rdar://11353109 & http://llvm.org/bugs/show_bug.cgi?id=12689
llvm-svn: 156056
|
| |
|
|
|
|
|
|
|
|
|
|
| |
We need to identify the value of ptr as
ElementRegion (result of pointer arithmetic) in the following code.
However, before this commit '(2-x)' evaluated to Unknown value, and as
the result, 'p + (2-x)' evaluated to Unknown value as well.
int *p = malloc(sizeof(int));
ptr = p + (2-x);
llvm-svn: 156052
|
| |
|
|
|
|
|
| |
The resulting type info is stored in the SymSymExpr, so no reason not to
support construction of expression with different subexpression types.
llvm-svn: 156051
|
| |
|
|
|
|
| |
(Currently, this is only relevant for tainted data.)
llvm-svn: 156050
|
| |
|
|
|
|
|
|
| |
The change resulted in multiple issues on the buildbot, so it's not
ready for prime time. Only enable history tracking for tainted
data(which is experimental) for now.
llvm-svn: 156049
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to catch cases like:
%reg1024<def> = MOV r1
%reg1025<def> = MOV r0
%reg1026<def> = ADD %reg1024, %reg1025
r0 = MOV %reg1026
By commuting ADD, it let coalescer eliminate all of the copies. However, there
was a bug in the heuristics where it ended up commuting the ADD in:
%reg1024<def> = MOV r0
%reg1025<def> = MOV 0
%reg1026<def> = ADD %reg1024, %reg1025
r0 = MOV %reg1026
That did no benefit but rather ensure the last MOV would not be coalesced.
rdar://11355268
llvm-svn: 156048
|
| |
|
|
|
|
|
|
| |
x86_64-arguments.cpp test file and be sure to test the coerced
case as well. Thanks to Wei-Ren Chen for bringing this test
to my attention.
llvm-svn: 156047
|
| |
|
|
|
|
|
|
|
|
| |
The ensures that virtual registers always belong to an allocatable class.
If your target attempts to create a vreg for an operand that has no
allocatable register subclass, you will crash quickly.
This ensures that targets define register classes as intended.
llvm-svn: 156046
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
#define TEST int y; int x = y;
void foo() {
TEST
}
-Wuninitialized gives this warning:
invalid-loc.cc:4:3: warning: variable 'y' is uninitialized when used here
[-Wuninitialized]
TEST
^~~~
invalid-loc.cc:2:29: note: expanded from macro 'TEST'
#define TEST int y; int x = y;
^
note: initialize the variable 'y' to silence this warning
1 warning generated.
The second note lacks filename, line number, and code snippet. This change
will remove the fixit and only point to variable declaration.
invalid-loc.cc:4:3: warning: variable 'y' is uninitialized when used here
[-Wuninitialized]
TEST
^~~~
invalid-loc.cc:2:29: note: expanded from macro 'TEST'
#define TEST int y; int x = y;
^
invalid-loc.cc:4:3: note: variable 'y' is declared here
TEST
^
invalid-loc.cc:2:14: note: expanded from macro 'TEST'
#define TEST int y; int x = y;
^
1 warning generated.
llvm-svn: 156045
|
| |
|
|
|
|
| |
- This is intended as a quick kill switch for data formatters for cases where the user wants as little extra processing as possible to be done on their target, or to override major data formatters bug, should they occur
llvm-svn: 156044
|
| |
|
|
|
|
|
|
|
| |
not as we expect; it may be due to racing issue of a file coming from PCH
changing after the PCH is loaded.
rdar://11353109
llvm-svn: 156043
|
| |
|
|
|
|
| |
for __NSContainer_literal.
llvm-svn: 156035
|
| |
|
|
| |
llvm-svn: 156034
|
| |
|
|
| |
llvm-svn: 156033
|
| |
|
|
| |
llvm-svn: 156032
|