- May 10, 2013
-
-
Alexander Kornienko authored
Summary: Adds actual config file reading to the clang-format utility. Configuration file name is .clang-format. It is looked up for each input file in its parent directories starting from immediate one. First found .clang-format file is used. When using standard input, .clang-format is searched starting from the current directory. Added -dump-config option to easily create configuration files. Reviewers: djasper, klimek Reviewed By: klimek CC: cfe-commits, jordan_rose, kimgr Differential Revision: http://llvm-reviews.chandlerc.com/D758 llvm-svn: 181589
-
Peter Collingbourne authored
Differential Revision: http://llvm-reviews.chandlerc.com/D744 llvm-svn: 181588
-
Hans Wennborg authored
MSVC provides __wchar_t. This is the same as the built-in wchar_t type from C++, but it is also available with -fno-wchar and in C. The commit changes ASTContext to have two different types for this: - WCharTy is the built-in type used for wchar_t in C++ and __wchar_t. - WideCharTy is the type of a wide character literal. In C++ this is the same as WCharTy, and in C it is an integer type compatible with the type in <stddef.h>. This fixes PR15815. llvm-svn: 181587
-
Benjamin Kramer authored
PR15952. llvm-svn: 181586
-
Daniel Jasper authored
Before, the actual operator of an overloaded operator declaration was handled as a binary operator an thus, clang-format could not find valid formattings for many examples, e.g.: template <typename AAAAAAA, typename BBBBBBB> AAAAAAA operator/(const AAAAAAA &a, BBBBBBB &b); llvm-svn: 181585
-
Richard Smith authored
substitute 'void' into the return type rather than replacing it with 'void', so that we maintain the 'auto' type sugar. llvm-svn: 181584
-
Richard Smith authored
llvm-svn: 181583
-
Jason Molenda authored
llvm-svn: 181582
-
Jason Molenda authored
I'll revisit this and apply once I figure out how to address that. llvm-svn: 181581
-
Tom Stellard authored
The BFE optimization was the only one we were actually using, and it was emitting an intrinsic that we don't support. https://bugs.freedesktop.org/show_bug.cgi?id=64201 Reviewed-by:
Christian König <christian.koenig@amd.com> NOTE: This is a candidate for the 3.3 branch. llvm-svn: 181580
-
Tom Stellard authored
Patch by: Aaron Watry Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> Signed-off-by:
Aaron Watry <awatry@gmail.com> NOTE: This is a candidate for the 3.3 branch. llvm-svn: 181579
-
Tom Stellard authored
Fixes piglit test for OpenCL builtin mul24, and allows mad24 to run. Patch by: Aaron Watry Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> Signed-off-by:
Aaron Watry <awatry@gmail.com> NOTE: This is a candidate for the 3.3 branch. llvm-svn: 181578
-
Tom Stellard authored
v2: Add v4i32 test Patch by: Aaron Watry Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> Signed-off-by:
Aaron Watry <awatry@gmail.com> NOTE: This is a candidate for the 3.3 branch. llvm-svn: 181577
-
Tom Stellard authored
v2: Add vselect v4i32 test Patch by: Aaron Watry Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> Signed-off-by:
Aaron Watry <awatry@gmail.com> NOTE: This is a candidate for the 3.3 branch. llvm-svn: 181576
-
Argyrios Kyrtzidis authored
[libclang] When parsing with CXTranslationUnit_ForSerialization, make sure to install the ASTWriter that we create as an ASTMutationListener. Fixes rdar://13833268 llvm-svn: 181575
-
Dmitri Gribenko authored
llvm-svn: 181574
-
Rui Ueyama authored
Also shuffle the atoms so that it can verify the layout pass actually changed the layout. llvm-svn: 181573
-
Dmitri Gribenko authored
But ShuffleVectorExpr should be tail-allocating the storage for expressions. llvm-svn: 181572
-
Dmitri Gribenko authored
llvm-svn: 181571
-
Dmitri Gribenko authored
Now tests should pass. The previous error was caused by a misplaced backing array for MutableArrayRef that I introduced. llvm-svn: 181570
-
Marshall Clow authored
llvm-svn: 181569
-
Dmitri Gribenko authored
llvm-svn: 181568
-
Jason Molenda authored
starting a kdp communication session, instead of assuming darwin kernel for any "non-EFI" kdp session. <rdar://problem/13854098> llvm-svn: 181566
-
Dmitri Gribenko authored
llvm-svn: 181565
-
Chad Rosier authored
rdar://13854369 and PR15944 llvm-svn: 181564
-
Dmitri Gribenko authored
llvm-svn: 181563
-
Dmitri Gribenko authored
llvm-svn: 181562
-
Adrian Prantl authored
for C++ constructors. If the DIType for a class was generated by CGDebugInfo::createContextChain(), the cache contains only a limited DIType wihtout any declarations. Since EmitFunctionStart() needs to find the canonical declaration for each method, we construct the complete type before emitting any method. rdar://problem/13116508 llvm-svn: 181561
-
Sean Callanan authored
into a CXXRecordDecl on the ground; rather, put them into the translation unit as functions. <rdar://problem/13834404> llvm-svn: 181560
-
Joerg Sonnenberger authored
llvm-svn: 181559
-
Richard Smith authored
llvm-svn: 181558
-
David Blaikie authored
This fixes several (7 out of 16) cases of PR14492 in the GDB 7.5 test suite. It seems GDB was bailing out whenever it had even the slightest problem with the template argument list (& I assume it didn't like seeing template value parameters that were just simple names - perhaps assuming that lone names must be types, not values) llvm-svn: 181556
-
Owen Anderson authored
Teach SelectionDAG to constant fold all-constant FMA nodes the same way that it constant folds FADD, FMUL, etc. llvm-svn: 181555
-
David Blaikie authored
llvm-svn: 181554
-
- May 09, 2013
-
-
Richard Smith authored
llvm-svn: 181553
-
David Blaikie authored
Both these tests were ultimately fixed by the check for "isIncompleteType" & neither test case was really reduced to a minimal form. On doing so it becomes apparent that the problem wasn't specific to templates at all, so I've moved the test case to a more appropriate test file and added FileCheck verification to it (to show the forward declaration of the array element type as well as the array alignment and size being 0 since it cannot be computed). That's about as far down this rabbithole as I'm willing to go today, so the rest of the un-FileChecked tests in test/CodeGenCXX/debug-info.cpp will have to go another day without actually testing anything other than the fact that they don't crash. & improve the actually interesting test case in test/CodeGenCXX/debug-info-templates.cpp which was my original goal (in preparation for expanding it/fixing some related bugs in non-type template parameters) llvm-svn: 181552
-
Dmitri Gribenko authored
llvm-svn: 181551
-
Dmitri Gribenko authored
llvm-svn: 181550
-
Dmitri Gribenko authored
llvm-svn: 181549
-
Marshall Clow authored
llvm-svn: 181548
-