- Sep 13, 2012
-
-
Douglas Gregor authored
it's likely to lead to a crash later on. Fixes PR12933 / <rdar://problem/11525335>. llvm-svn: 163838
-
Dmitri Gribenko authored
should be fine to use it without further explanations in the attached paragraph, so the warning about empty paragraph was turned off for it. llvm-svn: 163836
-
Douglas Gregor authored
warning to an error. C++ bans it, and both GCC and EDG diagnose it as an error. Microsoft allows it, so we still warn in Microsoft mode. Fixes <rdar://problem/11135644>. llvm-svn: 163831
-
Richard Smith authored
llvm-svn: 163829
-
Richard Smith authored
llvm-svn: 163826
-
Richard Smith authored
Use a "better" unicode character, to avoid buildbot breakage on bots which can print some unicode characters. llvm-svn: 163825
-
Richard Smith authored
middle of UTF-8 characters, and avoid walking to such positions when adjusting column ranges for display. Fixes a couple of hangs when rendering diagnostics. llvm-svn: 163820
-
Ted Kremenek authored
crazy case where dispatch_once gets redefined as a macro that calls _dispatch_once (which calls the real dispatch_once). Users want to see the warning in their own code. Fixes <rdar://problem/11617767> llvm-svn: 163816
-
Ted Kremenek authored
llvm-svn: 163812
-
Silviu Baranga authored
llvm-svn: 163804
-
Eric Christopher authored
Patch by Brad Smith. llvm-svn: 163777
-
Jordan Rose authored
<rdar://problem/12061922> llvm-svn: 163772
-
Jordan Rose authored
These will warn under -Wformat-non-iso, and will still be rejected outright on other platforms. <rdar://problem/12061922> llvm-svn: 163771
-
Ted Kremenek authored
Objective-C related to NSException. Fixes <rdar://problem/12287498> I debated whether or not this logic should be sunk into the CFG itself. It's not clear if we should, as different analyses may wish to have different policies. We can re-evaluate this in the future. llvm-svn: 163760
-
Chad Rosier authored
more robust way to address a few FIXMEs. The initial implementation, r163342, built the IR asm string and then tried to patch things on the fly without enough context. Specifically, it didn't skip mnemonics nor did it track with assembly instruction an expression was related to. The new implementation patches the operands and then builds the final IR string. llvm-svn: 163756
-
Eric Christopher authored
Make clang emit a flag for DW_AT_object_pointer for the artificial args where it should (implicit first arguments). FileCheck-ize a test as well and update tests to take into account the object pointer flag. rdar://9797999 llvm-svn: 163755
-
Chad Rosier authored
llvm-svn: 163751
-
Anna Zaks authored
Fixes a false positive found by analyzing LLVM code base. llvm-svn: 163750
-
Anna Zaks authored
llvm-svn: 163749
-
Anna Zaks authored
llvm-svn: 163748
-
- Sep 12, 2012
-
-
Jordan Rose authored
We mostly just don't want to crash analyzing this test case; it's likely the code found here will actually crash if compiled and run. llvm-svn: 163746
-
Jordan Rose authored
Using the static type may be inconsistent with later calls. We should just report that there is no inlining definition available if the static type is better than the dynamic type. See next commit. This reverts r163644 / 19d5886d1704e24282c86217b09d5c6d35ba604d. llvm-svn: 163744
-
Fariborz Jahanian authored
// rdar://12280826 llvm-svn: 163741
-
Fariborz Jahanian authored
__autoreleasing is explicitely added to param type. // rdar://12280826 llvm-svn: 163738
-
Chad Rosier authored
llvm-svn: 163737
-
Eric Christopher authored
this should be done on the subprogram, not the variable. llvm-svn: 163733
-
Chad Rosier authored
llvm-svn: 163731
-
Chad Rosier authored
llvm-svn: 163730
-
Chad Rosier authored
MCOperands then iterate over all of then when computing clobbers, inputs and outputs. On x86 the 1-to-many mapping is a memory operand that includes a BaseReg(reg), MemScale(imm), MemIndexReg(reg), an Expr(MCExpr or imm) and a MemSegReg(reg). Invalid register (Op.getReg() == 0) are not considered when computing clobber. llvm-svn: 163728
-
Ted Kremenek authored
We plan on discussing this more, but we shouldn't have it in the compiler in an incomplete state. llvm-svn: 163720
-
Ted Kremenek authored
We plan on discussing this more. llvm-svn: 163719
-
NAKAMURA Takumi authored
llvm-svn: 163709
-
NAKAMURA Takumi authored
clang/test/CodeGen/2008-01-25-ZeroSizedAggregate.c: [PR8833] Add REQUIRES: LP64. It fails with +Asserts for Win64. llvm-svn: 163708
-
NAKAMURA Takumi authored
llvm-svn: 163701
-
NAKAMURA Takumi authored
llvm-svn: 163700
-
NAKAMURA Takumi authored
I think some of them could be rewritten to fit also LLP64. llvm-svn: 163699
-
NAKAMURA Takumi authored
%t.h might be touched by scanners as a hot file on Windows, to fail to remove %.h with single run. llvm-svn: 163697
-
NAKAMURA Takumi authored
llvm-svn: 163696
-
Evgeniy Stepanov authored
llvm-svn: 163691
-
Ted Kremenek authored
were not emitted. Fixes <rdar://problem/12280665>. llvm-svn: 163683
-