- Sep 13, 2012
-
-
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
-
Fariborz Jahanian authored
llvm-svn: 163833
-
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
-
Ted Kremenek authored
llvm-svn: 163828
-
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
-
Fariborz Jahanian authored
to SemaDeclObjC and apply some simplification per John's comment. // rdar://12280826 llvm-svn: 163824
-
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
-
Fariborz Jahanian authored
// rdar://12280826 llvm-svn: 163813
-
Ted Kremenek authored
llvm-svn: 163812
-
Silviu Baranga authored
llvm-svn: 163804
-
NAKAMURA Takumi authored
llvm-svn: 163798
-
Daniel Jasper authored
Review: http://llvm-reviews.chandlerc.com/D39 llvm-svn: 163794
-
Dmitri Gribenko authored
not what most people want -- it starts a new paragraph). llvm-svn: 163793
-
Manuel Klimek authored
llvm-svn: 163792
-
Ted Kremenek authored
passing -fretain-comments-from-system-headers. By default, the compiler no longer parses such documentation comments, as they can result in a noticeable compile time/PCH slowdown. Fixes <rdar://problem/11860820>. llvm-svn: 163778
-
Eric Christopher authored
Patch by Brad Smith. llvm-svn: 163777
-
NAKAMURA Takumi authored
llvm-svn: 163776
-
NAKAMURA Takumi authored
llvm-svn: 163775
-
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
-
Anna Zaks authored
Thanks Jordan. llvm-svn: 163762
-
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
-
Ted Kremenek authored
in NSException to a helper object in libAnalysis that can also be used by Sema. Not sure if the predicate name 'isImplicitNoReturn' is the best one, but we can massage that later. No functionality change. llvm-svn: 163759
-
Chad Rosier authored
llvm-svn: 163758
-
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
-
Richard Trieu authored
static Qualifiers removeCommonQualifiers(Qualifiers &L, Qualifiers &R) Removes the common qualifiers from L and R and returns them in a new Qualifier. This will be used in template diffing. void removeQualifiers(Qualifiers Q) Removes the qualifiers in Q from the current qualifier. This replaces the current underlying implementation of operator- and operator -= which only performed bit masking. llvm-svn: 163752
-
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
-
Jordan Rose authored
Again, GCC is more aggressive about reusing temporary space than we are, leading to Release build crashes for this undefined behavior. PR13710 (though it may not be the only problem there) llvm-svn: 163747
-
- 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
Currently we don't update the dynamic type of a C++ object when it is cast. This can cause the situation above, where the static type of the region is now known to be a subclass of the dynamic type. Once we start updating DynamicTypeInfo in response to the various kinds of casts in C++, we can re-add this assert to make sure we don't miss any cases. This work is tracked by <rdar://problem/12287087>. In -Asserts builds, we will simply not return any runtime definition when our DynamicTypeInfo is known to be incorrect like this. llvm-svn: 163745
-
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
-
Daniel Jasper authored
There are two evils we can choose from: - Name overlap between isA-matcher and llvm::isa<>() - Bad name for what the isA-matcher currently does After some discussion we have agreed to go with the latter evil. Review: http://llvm-reviews.chandlerc.com/D40 llvm-svn: 163740
-