- Dec 13, 2013
-
-
Manuel Klimek authored
Needed to change rename.m to set the right include path so we don't import a broken module due to recursive module checking. llvm-svn: 197222
-
Renato Golin authored
llvm-svn: 197219
-
Ted Kremenek authored
Refine 'objc_protocol_requires_explicit_implementation' attribute to better handle indirect protocols. llvm-svn: 197209
-
Ted Kremenek authored
llvm-svn: 197208
-
Ted Kremenek authored
This removes an extra "note:", which wasn't really all that more useful and overall reduces the diagnostic spew for this case. llvm-svn: 197207
-
Ted Kremenek authored
llvm-svn: 197206
-
Argyrios Kyrtzidis authored
assume that a [super init..] inside a designated initializer also refers to a designated one and do not warn. llvm-svn: 197202
-
David Majnemer authored
No functional change, just a tidying up. llvm-svn: 197196
-
David Majnemer authored
The old URL hasn't worked for quite some time. While we are here, also change the link so that it will send us straight to the mangling portion of the ABI doc. llvm-svn: 197195
-
Reid Kleckner authored
No functionality change. Only Itanium C++ destructors have implicit VTT parameters. llvm-svn: 197194
-
David Majnemer authored
We will need to do some work here if we want to play nice with MSVC2013. Add a TODO indicating what changed and why this matters. llvm-svn: 197193
-
David Majnemer authored
This reverts commit r197184. Richard Smith brings up some good points, a proper implementation will require us to mangle unnameable entities compatibly with MSVC. llvm-svn: 197192
-
Reid Kleckner authored
No functionality change. The only remaining uses were in ItaniumCXXABI, which knows the implicit parameter is a VTT. llvm-svn: 197189
-
Ted Kremenek authored
Enhance "auto synthesis will not synthesize property in protocol" to include property and protocol name. Implements <rdar://problem/15617839>. llvm-svn: 197187
-
Warren Hunt authored
The check for bitfields that are longer than their base type needed to be checked in microsoft mode (cl.exe does not support the C++ extnetion for bitfields longer than their type). llvm-svn: 197186
-
Richard Smith authored
llvm-svn: 197185
-
David Majnemer authored
They are mangled the same as normal references, nothing special is going on here. llvm-svn: 197184
-
- Dec 12, 2013
-
-
Warren Hunt authored
This refactor addresses bugzilla bug 18167 and simplifies the code at the same time. Also I add a test case for the bug. Also I make a non-functional change to the basic layout lit tests to make them more reliable (using CHECK-NEXT instead of CHECK). llvm-svn: 197183
-
Joerg Sonnenberger authored
Triple::getEnvironment. llvm-svn: 197181
-
Alp Toker authored
Type trait parsing is all over the place at the moment with unary, binary and n-ary C++11 type traits that were developed independently at different points in clang's history. There's no good reason to handle them separately -- there are three parsers, three AST nodes and lots of duplicated handling code with slightly different implementations and diags for each kind. This commit unifies parsing of type traits and sets the stage for further consolidation. No change in behaviour other than more consistent error recovery. llvm-svn: 197179
-
Yaron Keren authored
of MinGW older than 4.7 with incompatible C++ libraries. This patch makes clang look for all MinGW versions from 4.7: 4.7.0, 4.7.1, 4.7.2, 4.7.3 4.8.0, 4.8.1, 4.8.2. llvm-svn: 197176
-
Rafael Espindola authored
On Assert builds the "call" was matching the variable name in %call = call ... llvm-svn: 197167
-
Argyrios Kyrtzidis authored
Fixes rdar://15644663. llvm-svn: 197165
-
Rafael Espindola authored
GCC 4.7 changed the MingW ABI. On the clang side this means that methods now have the thiscall calling convention by default. llvm-svn: 197164
-
Rafael Espindola authored
llvm-svn: 197160
-
Rafael Espindola authored
llvm-svn: 197157
-
Bernard Ogden authored
llvm-svn: 197154
-
Bernard Ogden authored
getARMCPU and getLLVMArchSuffixForARM existed as very similar functions in both ToolChain.cpp and Tools.cpp. Create a single implementation of each in Tools.cpp, eliminate the duplicate and share via Tools.h. Creates an 'arm' namespace in Tools.h to be used by any ARM-targetting tools. llvm-svn: 197153
-
Bernard Ogden authored
llvm-svn: 197152
-
Bernard Ogden authored
Passing -mthumb with no explicit CPU on the command line resulted in target CPU changing from the architecture default to arm7tdmi. Now it does not. llvm-svn: 197151
-
Alp Toker authored
Thanks to Jonathan Sauer for providing initial test cases. Fixes PR16093 and PR18147. llvm-svn: 197150
-
Tim Northover authored
This refactors some of the Darwin toolchain classification to give a more solid distinction between the three primary Darwin platforms (OS X, IOS and IOS simulator) so that a 4th choice can be added temporarily: embedded MachO targets. Longer term, this support will be factored out into a separate class and no longer classified as "darwin-eabi", but the refactoring should still be useful. llvm-svn: 197148
-
Timur Iskhodzhanov authored
llvm-svn: 197143
-
Alexander Kornienko authored
llvm-svn: 197142
-
Alexander Kornienko authored
Summary: Leave only -help, -version and options from the specified category. Updated clang-check and clang-tidy. As clang-tidy is in a separate repository, here's the diff: Index: tools/extra/clang-tidy/tool/ClangTidyMain.cpp =================================================================== --- tools/extra/clang-tidy/tool/ClangTidyMain.cpp (revision 197024) +++ tools/extra/clang-tidy/tool/ClangTidyMain.cpp (working copy) @@ -39,7 +39,7 @@ // FIXME: Add option to list name/description of all checks. int main(int argc, const char **argv) { - CommonOptionsParser OptionsParser(argc, argv); + CommonOptionsParser OptionsParser(argc, argv, ClangTidyCategory); SmallVector<clang::tidy::ClangTidyError, 16> Errors; clang::tidy::runClangTidy(Checks, OptionsParser.getCompilations(), Reviewers: djasper, klimek Reviewed By: djasper CC: cfe-commits, revane, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D2379 llvm-svn: 197139
-
Alexander Kornienko authored
Summary: Added BraceBreakingStyle::BS_GNU. I'm not sure about the correctness of static initializer formatting, but compound statements should be fine. Reviewers: djasper Reviewed By: djasper CC: cfe-commits, klimek Differential Revision: http://llvm-reviews.chandlerc.com/D2372 llvm-svn: 197138
-
NAKAMURA Takumi authored
llvm-svn: 197129
-
Ted Kremenek authored
llvm-svn: 197128
-
Richard Smith authored
conversion on the LHS of a .* or ->*. Slightly improve diagnostics in case of an ambiguous base class. llvm-svn: 197125
-
Richard Smith authored
Update user manual to note that implementation for C++11 and C++1y is complete, and fix a bunch of other issues here. llvm-svn: 197120
-