- Feb 12, 2013
-
-
Krzysztof Parzyszek authored
option "generate-dwarf-pubnames" to control it, set to "false" by default. llvm-svn: 174981
-
Dmitri Gribenko authored
MSVC accepts this: class A { A::A(); }; Clang accepts regular member functions with extra qualification as an MS extension, but not constructors. This changes the parser to defer rejecting qualified constructors so that the same Sema logic can apply to constructors as regular member functions. This also improves the error message when MS extensions are disabled (in my opinion). Before it was: /Users/jason/Desktop/test.cpp:2:8: error: expected member name or ';' after declaration specifiers A::A(); ~~~~ ^ 1 error generated. After: /Users/jason/Desktop/test.cpp:2:6: error: extra qualification on member 'A' A::A(); ~~~^ 1 error generated. Patch by Jason Haslam. llvm-svn: 174980
-
Kay Tiong Khoo authored
llvm-svn: 174979
-
Daniel Jasper authored
Before (if only the second line was reformatted): void f() {} void g() {} After: void f() {} void g() {} llvm-svn: 174978
-
Sergei Larin authored
Equal treatment of labels and other terminators in MI DAG construction. MI sched DAG construction allows targets to include terminators into scheduling DAG. Extend this functionality to labels as well. llvm-svn: 174977
-
Krzysztof Parzyszek authored
llvm-svn: 174976
-
Nico Weber authored
This redoes how '*' and '&' are classified as pointer / reference markers when followed by ')', '>', or ','. Previously, determineStarAmpUsage() marked a single '*' and '&' followed by ')', '>', or ',' as pointer or reference marker. Now, all '*'s and '&'s preceding ')', '>', or ',' are marked as pointer / reference markers. Fixes PR14884. Since only the last '*' in 'int ***' was marked as pointer before (the rest were unary operators, which don't reach spaceRequiredBetween()), spaceRequiredBetween() now had to be thought about handing multiple '*'s in sequence. Before: return sizeof(int * *); Type **A = static_cast<Type * *>(P); Now: return sizeof(int**); Type **A = static_cast<Type **>(P); While here, also make all methods of AnnotatingParser except parseLine() private. Review URL: http://llvm-reviews.chandlerc.com/D384 llvm-svn: 174975
-
Paul Redmond authored
Patch by: Kevin Schoedel llvm-svn: 174974
-
Jyotsna Verma authored
instructions. llvm-svn: 174973
-
Paul Redmond authored
DAGCombiner::ReduceLoadWidth was converting (trunc i32 (shl i64 v, 32)) into (shl i32 v, 32) into undef. To prevent this, check the shift count against the final result size. Patch by: Kevin Schoedel Reviewed by: Nadav Rotem llvm-svn: 174972
-
Evgeniy Stepanov authored
llvm-svn: 174971
-
Evgeniy Stepanov authored
llvm-svn: 174970
-
Evgeniy Stepanov authored
In __isoc99_*scanf we don't have to worry about GNUisms, and can parse %a accurately. Patch by Jakub Jelinek. llvm-svn: 174969
-
Justin Holewinski authored
Vectors were being manually scalarized by the backend. Instead, let the target-independent code do all of the work. The manual scalarization was from a time before good target-independent support for scalarization in LLVM. However, this forces us to specially-handle vector loads and stores, which we can turn into PTX instructions that produce/consume multiple operands. llvm-svn: 174968
-
Edwin Vane authored
Adding overloads of allOf accepting 4 and 5 arguments. Reviewer: klimek llvm-svn: 174967
-
Timur Iskhodzhanov authored
Rename -constructors test to just -structors as in fact it tests dtors too. Also, fix a minor typo in the test. llvm-svn: 174966
-
Evgeniy Stepanov authored
llvm-svn: 174965
-
Alexander Potapenko authored
[ASan] Do not use kDefaultShort64bitShadowOffset on Mac, where the binaries may get mapped at 0x100000000+ and thus may interleave with the shadow. llvm-svn: 174964
-
Michel Danzer authored
'R600/SI: Use proper instructions for array/shadow samplers.' removed two cases from TEX_SHADOW. Vincent Lejeune reported on IRC that this broke some shadow array piglit tests with the r600g driver. Reinstating the removed cases should fix this, and still works with radeonsi as well. I will follow up with some lit tests which would have caught the regression. NOTE: This is a candidate for the Mesa stable branch. Tested-by:
Vincent Lejeune <vljn@ovi.com> Reviewed-by:
Tom Stellard <thomas.stellard@amd.com> llvm-svn: 174963
-
Evgeniy Stepanov authored
llvm-svn: 174962
-
Joe Abbey authored
This is based on Bill Wendling's email. No additional content has been added, but now there's a place for Attributes to capture future information. llvm-svn: 174961
-
Evgeniy Stepanov authored
llvm-svn: 174960
-
Kostya Serebryany authored
llvm-svn: 174959
-
Kostya Serebryany authored
[asan] change the default mapping offset on x86_64 to 0x7fff8000. This gives roughly 5% speedup. Since this is an ABI change, bump the asan ABI version by renaming __asan_init to __asan_init_v1. compiler-rt part llvm-svn: 174958
-
Kostya Serebryany authored
[asan] change the default mapping offset on x86_64 to 0x7fff8000. This gives roughly 5% speedup. Since this is an ABI change, bump the asan ABI version by renaming __asan_init to __asan_init_v1. llvm part, compiler-rt part will follow llvm-svn: 174957
-
Alexey Samsonov authored
llvm-svn: 174956
-
Bill Wendling authored
llvm-svn: 174955
-
Bill Wendling authored
llvm-svn: 174954
-
Nick Lewycky authored
llvm-svn: 174953
-
Bill Wendling authored
The bitcode writer emits a reference to the attribute group that the object at the given index refers to. The bitcode reader is modified to read this in and map it back to the attribute group. llvm-svn: 174952
-
Nick Lewycky authored
MarkMemberReferenced instead of marking functions referenced directly. An audit of callers to MarkFunctionReferenced and DiagnoseUseOfDecl also caused a few other changes: * don't mark functions odr-used when considering them for an initialization sequence. Do mark them referenced though. * the function nominated by the cleanup attribute should be diagnosed. * operator new/delete should be diagnosed when building a 'new' expression. llvm-svn: 174951
-
Bill Wendling authored
llvm-svn: 174950
-
Sean Callanan authored
changing the ClangASTSource to return a bool instead of returning a list of results. Our testsuite mostly works with this change, but some minor issues may remain both on LLDB's side and on Clang's side. llvm-svn: 174949
-
Bill Wendling authored
llvm-svn: 174948
-
Sean Callanan authored
up variables in the current stack frame to avoid mutual recursion between the expression parser and the synthetic child providers. Variables should only be looked up in a very simple way, using no synthetic anything. <rdar://problem/13173454> llvm-svn: 174947
-
John McCall authored
rdar://12046763 llvm-svn: 174946
-
Cameron Zwarich authored
live range after inserting a copy at the end of a block. llvm-svn: 174945
-
Cameron Zwarich authored
llvm-svn: 174944
-
Richard Smith authored
the linkage of functions and variables while merging declarations from modules, and we don't necessarily have enough of the rest of the AST loaded at that point to allow us to compute linkage, so serialize it instead. llvm-svn: 174943
-
Anton Yartsev authored
llvm-svn: 174942
-