summaryrefslogtreecommitdiffstats
path: root/clang
Commit message (Collapse)AuthorAgeFilesLines
...
* Suppress useless -Wshadow warning when using _mm* macros from emmintrin.hTed Kremenek2013-10-072-0/+22
| | | | | | | | | | Fixes <rdar://problem/10679282>. I'm not completely satisfied with this patch. Sprinkling "diagnostic ignored" _Pragmas throughout this file is gross, but I couldn't suppress it for the entire file. llvm-svn: 192143
* clang-cl: Accept and mostly ignore /vm*, /GF, /GF-, /Zm, and /bigobjReid Kleckner2013-10-071-1/+11
| | | | | | Patch by David Ziman! llvm-svn: 192141
* Add a triple to unbreak buildbots where size_t is not 'unsigned long'.Richard Smith2013-10-072-2/+2
| | | | llvm-svn: 192140
* Remove -ast-dump-xml.Richard Smith2013-10-0711-1106/+0
| | | | llvm-svn: 192131
* ObjectiveC migrator: A typical implementation ofFariborz Jahanian2013-10-072-2/+1
| | | | | | | | 'default' methods in Foundation does not infer 'instancetype' for methods' result type. // rdar://15145218 llvm-svn: 192129
* Add support for WG21 N3599 (literal operator template for strings) as a GNURichard Smith2013-10-0710-53/+196
| | | | | | | | | extension. The GCC folks have decided to support this even though the standard committee have not yet approved this feature. Patch by Hristo Venev! llvm-svn: 192128
* ObjectiveC modern rewriter. Rewrite typedefsFariborz Jahanian2013-10-072-0/+35
| | | | | | | declared locally in ObjectiveC containers. // rdar://15143875 llvm-svn: 192127
* Fix objectsize tests after r192117Matt Arsenault2013-10-075-8/+11
| | | | llvm-svn: 192120
* ObjectiveC: Warn when 'readonly' property has explicitFariborz Jahanian2013-10-074-126/+47
| | | | | | | ownership attribute (such as 'copy', 'assign' etc.) // rdar://15131088 llvm-svn: 192115
* [analyzer] ArrayRef-ize BugReporter::EmitBasicReport.Jordan Rose2013-10-079-48/+24
| | | | | | No functionality change. llvm-svn: 192114
* [analyzer] RetainCountChecker: add support for CFAutorelease.Jordan Rose2013-10-073-564/+1489
| | | | | | <rdar://problems/13710586&13710643> llvm-svn: 192113
* [AArch64] Add support for NEON scalar arithmetic instructions:Chad Rosier2013-10-073-0/+104
| | | | | | SQDMULH, SQRDMULH, FMULX, FRECPS, and FRSQRTS. llvm-svn: 192112
* [libclang] Add some tests by Loïc Jaquemet that I forgot to add earlier.Argyrios Kyrtzidis2013-10-072-0/+50
| | | | llvm-svn: 192108
* Sema::tryCaptureVariable(): Prune three unused variables, HasBlocksAttr, ↵NAKAMURA Takumi2013-10-071-4/+0
| | | | | | IsBlock, and IsLambda. [-Wunused-variable] llvm-svn: 192095
* Fix incorrect detection of class definitions with alignas specification.Manuel Klimek2013-10-072-1/+3
| | | | llvm-svn: 192094
* When merging class definitions across modules in C++, merge together fields.Richard Smith2013-10-079-5/+139
| | | | | | | | | This change doesn't go all the way to making fields redeclarable; instead, it makes them 'mergeable', which means we can find the canonical declaration, but not much else (and for a declaration that's not from a module, the canonical declaration is always that declaration). llvm-svn: 192092
* Driver: Use the canonical command line arguments.David Majnemer2013-10-071-1/+10
| | | | | | | | | | | | | | | Summary: Use the arguments given to the OS at process creation-time instead of the arguments passed into main() by the C runtime environment. The ones that main() received may not be suitable (e.g. not Unicode). Depends on D1834 CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D1835 llvm-svn: 192091
* Refactor tryCaptureVar using ExtractMethod. No functionality change.Faisal Vali2013-10-071-301/+394
| | | | | | | | | | In chicago, Doug had requested that I go ahead and commit the refactor as a separate change, if all the tests passed. Lets hope the buildbots stay quiet. Thanks! llvm-svn: 192087
* Fix PR17382 - properly group virtual method overloads in the vftableTimur Iskhodzhanov2013-10-062-6/+139
| | | | llvm-svn: 192067
* clang-format: Remove empty lines after visibility modifiers.Daniel Jasper2013-10-062-6/+22
| | | | | | | | | | | | | | | | | Formatting: class C { public: f(); }; Now leads to: class C { public: f(); }; llvm-svn: 192062
* remove a dead assignment. The variables are set just right after. Found by ↵Sylvestre Ledru2013-10-061-1/+1
| | | | | | scan-build http://buildd-clang.debian.net/scan-build/ llvm-svn: 192061
* Pass CGCXXABIs around directly.Mark Lacey2013-10-062-26/+33
| | | | | | | | | | In functions that only need to use the CGCXXABI member of a CodeGenTypes class, pass that reference around directly rather than a reference to a CodeGenTypes class. This makes the actual dependence on CGCXXABI clear at the call sites. llvm-svn: 192052
* Switching the CallableWhen attribute over to using the string literal helper ↵Aaron Ballman2013-10-051-17/+11
| | | | | | function instead of custom logic. llvm-svn: 192050
* Add support for -mcx16, and predefine __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16 whenNick Lewycky2013-10-053-2/+30
| | | | | | it is enabled. Also enable it on the same architectures that GCC does. llvm-svn: 192045
* Silencing an MSVC warning; SmallSet::count returns a bool instead of a size_t.Aaron Ballman2013-10-051-1/+1
| | | | llvm-svn: 192043
* Use logical/arithmetic operations instead of builtins in tbmintrin.h. This ↵Craig Topper2013-10-053-103/+93
| | | | | | way we can remove the intrinsic support from the backend. llvm-svn: 192036
* Remove unused param from Linux::computeSysRoot().Simon Atanasyan2013-10-052-4/+4
| | | | llvm-svn: 192034
* Sema: Cleanup redundant variable NumArgsToCheckBenjamin Kramer2013-10-051-4/+1
| | | | | | Patch by Daniel Marjamäki! llvm-svn: 192030
* Implement aarch64 neon instruction set AdvSIMD (Across).Jiangning Liu2013-10-054-115/+440
| | | | llvm-svn: 192029
* Remove unused Sema::DelayedDestructorExceptionSpecsAlp Toker2013-10-051-5/+0
| | | | | | This was a leftover from r160847. llvm-svn: 192027
* Debug Info: update testing cases when the derived-from field of aManman Ren2013-10-055-15/+16
| | | | | | | | DW_TAG_pointer_type is updated to use DITypeRef. Paired commit with r192018. llvm-svn: 192019
* Consumed Analysis: Change callable_when so that it can take a list of statesDeLesley Hutchins2013-10-0410-382/+488
| | | | | | | | that a function can be called in. This reduced the total number of annotations needed and makes writing more complicated behaviour less burdensome. Patch by chriswails@gmail.com. llvm-svn: 191983
* ObjectiveC. Allow readonly properties without an explicit ownershipFariborz Jahanian2013-10-043-25/+55
| | | | | | | | (assign/unsafe_unretained/weak/retain/strong/copy) in super class to be overridden by a property with any explicit ownership in the subclass. // rdar://15014468 llvm-svn: 191971
* Temporarily revert r191801 due to conflicts with the revert of r191792.Eric Christopher2013-10-045-16/+15
| | | | llvm-svn: 191968
* Don't assume instruction names in the output.Rafael Espindola2013-10-042-12/+12
| | | | llvm-svn: 191957
* Add test from pr17476.Rafael Espindola2013-10-042-17/+35
| | | | llvm-svn: 191956
* Revert "Teach TreeTransform and family how to transform generic lambdas ↵Rafael Espindola2013-10-045-630/+48
| | | | | | | | within templates and nested within themselves." This reverts commit r191879. It caused llvm.org/pr17476. llvm-svn: 191955
* Do not emit undefined lsrh/ashr for NEON shiftsAmaury de la Vieuville2013-10-044-12/+125
| | | | | | | | These IR instructions are undefined when the amount is equal to operand size, but NEON right shifts support such shifts. Work around that by emitting a different IR in these cases. llvm-svn: 191953
* Revert r191947. The problem is not MIPS-specific and requires moreSimon Atanasyan2013-10-042-17/+1
| | | | | | general solution. llvm-svn: 191951
* Simplify MicrosoftCXXNameMangler::mangleFunctionTypeTimur Iskhodzhanov2013-10-041-19/+17
| | | | llvm-svn: 191950
* [Mips] For MIPS '-fPIC -static' means to compile as -fPIC but link withSimon Atanasyan2013-10-042-1/+17
| | | | | | | | | -static. So do not turn off the PIC flag if -static passed to the driver in case of MIPS target. http://llvm.org/bugs/show_bug.cgi?id=14693 llvm-svn: 191947
* Implement aarch64 neon instruction set AdvSIMD (3V elem).Jiangning Liu2013-10-044-17/+1004
| | | | llvm-svn: 191945
* [analyzer] Replace bug category magic strings with shared constants, take 2.Jordan Rose2013-10-049-21/+27
| | | | | | | Re-commit r191910 (reverted in r191936) with layering violation fixed, by moving the bug categories to StaticAnalyzerCore instead of ...Checkers. llvm-svn: 191937
* Temporarily revert r191910 until the layering violation can be fixed.Richard Smith2013-10-035-10/+7
| | | | llvm-svn: 191936
* Don't complain about -fuse-ld=gold (cf r191429).Nico Weber2013-10-032-2/+4
| | | | | | (There's a real implementation for this flag in review.) llvm-svn: 191926
* Fix the test in clang_f_opts.c to fail on unknown options.Rafael Espindola2013-10-033-3/+5
| | | | | | Also fix options that were broken in the previous refactorings. llvm-svn: 191925
* Fix test.Rafael Espindola2013-10-031-1/+2
| | | | | | | With -### clang return 0, so we have to use FileCheck to see if there was an error. llvm-svn: 191923
* Make this use -### instead of a temporary output.Eric Christopher2013-10-031-1/+1
| | | | llvm-svn: 191921
* Give this a temporary output so it is cleaned up.Eric Christopher2013-10-031-1/+1
| | | | llvm-svn: 191917
* Ignore -mieee-fp.Rafael Espindola2013-10-032-0/+4
| | | | | | | It looks like clang always produce code with the ieee comparisons, so it is safe to ignore this flag (we still error on -mno-ieee-fp). llvm-svn: 191912
OpenPOWER on IntegriCloud