- Dec 13, 2012
-
-
Anna Zaks authored
This is a Band-Aid fix to a false positive, where we complain about not initializing self to [super init], where self is not coming from the init method, but is coming from the caller to init. The proper solution would be to associate the self and it's state with the enclosing init. llvm-svn: 170059
-
Fariborz Jahanian authored
to (SEL). Fixes // rdar://12859590 llvm-svn: 170058
-
Akira Hatanaka authored
llvm-svn: 170057
-
-
Akira Hatanaka authored
FFR2P_M. llvm-svn: 170055
-
Akira Hatanaka authored
llvm-svn: 170054
-
Akira Hatanaka authored
FFR1_W_M and FFR1P_M. The new instruction definitions have one-to-one correspondence with the instructions in the ISA manual. llvm-svn: 170053
-
Eli Bendersky authored
llvm-svn: 170052
-
Nadav Rotem authored
Teach the cost model about the optimization in r169904: Truncation of induction variables costs the same as scalar trunc. llvm-svn: 170051
-
Chad Rosier authored
llvm-svn: 170050
-
Eli Friedman authored
This still isn't quite right, but it fixes a crash. I factored out findCommonParent because we need it on the result of getImmediateExpansionRange: for a function macro, the beginning and end of an expansion range can come out of different macros/macro arguments, which means the resulting range is a complete mess to handle consistently. I also made some changes to how findCommonParent works; it works somewhat better in some cases, and somewhat worse in others, but I think overall it's a better balance. I'm coming to the conclusion that mapDiagnosticRanges isn't using the right algorithm, though: chasing the caret is fundamentally more complicated than any algorithm which only considers one FileID for the caret can handle because each SourceLocation doesn't really have a single parent. We need to follow the same path of choosing expansion locations and spelling locations which the caret used to come up with the correct range in the general case. Fixes <rdar://problem/12847524>. llvm-svn: 170049
-
Sean Silva authored
Converts: LanguageExtensions LibASTMatchers LibTooling PCHInternals ThreadSanitizer Tooling Patch by Mykhailo Pustovit! (with minor edits by Dmitri Gribenko and Sean Silva) llvm-svn: 170048
-
Daniel Dunbar authored
llvm-svn: 170047
-
Daniel Dunbar authored
llvm-svn: 170046
-
Andrew Kaylor authored
Marking TestPrintStackTraces.py as expectedFailureLinux (due to lack of multi-threaded debugging support). llvm-svn: 170043
-
Sean Silva authored
I don't think this will be visible just yet on <clang.llvm.org/docs/> since I don't think that the necessary server-side setup has taken place. Don't shoot me over the theme. I don't want to duplicate LLVM's theme into the clang repo at the moment, so I just used one of Sphinx's default themes. llvm-svn: 170042
-
- Dec 12, 2012
-
-
Pedro Artigas authored
Make the MCStreamer have a reset method and call that after finalization of the asm printer, also changed MCContext to a single reset only method for simplicity as requested on the list llvm-svn: 170041
-
Argyrios Kyrtzidis authored
the diagnostic has a valid location. llvm-svn: 170040
-
Argyrios Kyrtzidis authored
has inconsistent ownership with the backing ivar, point the error location to the ivar. Pointing to the ivar (instead of the @synthesize) is better since this is where a fix is needed. Also provide the location of @synthesize via a note. This also fixes the problem where an auto-synthesized property would emit an error without any location. llvm-svn: 170039
-
Chad Rosier authored
llvm-svn: 170038
-
Chad Rosier authored
should only occur on invalid input. Instruction matching errors aren't unexpected, so we can't rely on the AsmParsers HadError variable directly. rdar://12840278 llvm-svn: 170037
-
Benjamin Kramer authored
YAMLIO: Remove all of the template instantiation hacks, I don't see why they're necessary and it breaks linking of the unit tests. Also comes with a clang-format run on the cpp file, it had major style violations. llvm-svn: 170036
-
Nick Kledzik authored
llvm-svn: 170035
-
John McCall authored
My variadics patch, r169588, changed these calls to typically be bitcasts rather than calls to a supposedly variadic function. This totally subverted a hack where we intentionally dropped excess arguments from such calls in order to appease the inliner and a "warning" from the optimizer. This patch extends the hack to also work with bitcasts, as well as teaching it to rewrite invokes. llvm-svn: 170034
-
David Blaikie authored
llvm-svn: 170033
-
Nick Kledzik authored
llvm-svn: 170031
-
Nick Kledzik authored
llvm-svn: 170030
-
Dmitri Gribenko authored
No need to copy HTML files anymore. llvm-svn: 170029
-
Dmitri Gribenko authored
llvm-svn: 170027
-
Howard Hinnant authored
Zhang Xiongpang: Add definitions for const data members. Fixes http://llvm.org/bugs/show_bug.cgi?id=14585. llvm-svn: 170026
-
Jakub Staszak authored
llvm-svn: 170025
-
Michael Ilseman authored
llvm-svn: 170024
-
Jakub Staszak authored
llvm-svn: 170023
-
Michael Ilseman authored
llvm-svn: 170022
-
Benjamin Kramer authored
llvm-svn: 170021
-
David Majnemer authored
llvm-svn: 170020
-
Nick Kledzik authored
structures to and from YAML using traits. The first client will be the test suite of lld. The documentation will show up at: http://llvm.org/docs/YamlIO.html llvm-svn: 170019
-
Evan Cheng authored
load / store pair. It's not legal to use a wider load than the size of the remaining bytes if it's the first pair of load / store. llvm-svn: 170018
-
Jakub Staszak authored
llvm-svn: 170017
-
Bill Schmidt authored
predictable when compiled on at least one non-PowerPC host. Source of nondeterminism not apparent. Restrict the test to build on PowerPC hosts for now while looking into the issue further. llvm-svn: 170016
-