- Feb 12, 2013
-
-
Dmitri Gribenko authored
llvm-svn: 175005
-
Daniel Jasper authored
Still the formatting can be improved, but at least we don't assert any more. This happened when trying to format lib/Sema/SemaType.cpp. llvm-svn: 175003
-
Daniel Malea authored
Patch by Bruce Mitchener! llvm-svn: 175002
-
Dan Gohman authored
avoid a second pred_iterator traversal. llvm-svn: 175001
-
Chad Rosier authored
llvm-svn: 175000
-
Chad Rosier authored
llvm-svn: 174999
-
Chad Rosier authored
llvm-svn: 174998
-
Daniel Dunbar authored
- This is useful for testing with custom ABI libraries. - Patch by Michael van der Westhuizen. llvm-svn: 174997
-
Aaron Ballman authored
Fixing the MSVC compiler warning a different way; removed use of static_cast and instead used a signed integer parameter. llvm-svn: 174996
-
Chad Rosier authored
llvm-svn: 174995
-
Dan Gohman authored
(through a loop), don't continue to iterate through the reamining predecessors. llvm-svn: 174994
-
Greg Clayton authored
Added new "env" regular expression alias into the evironment settings section of the GDB/LLDB commands. llvm-svn: 174993
-
Krzysztof Parzyszek authored
llvm-svn: 174992
-
rdar://problem/13178743Greg Clayton authored
Added a new "env" regular expression alias. If "env" is typed on its own "settings show target.env-vars" will be run. Otherwise it can be used to set and environment variable: "env FOO=BAR". llvm-svn: 174991
-
Shankar Easwaran authored
llvm-svn: 174990
-
Chad Rosier authored
llvm-svn: 174989
-
Dan Gohman authored
for tidiness' sake. llvm-svn: 174988
-
rdar://problem/13184389Greg Clayton authored
_regexp-list needs to treat "list -" as "source list -r" llvm-svn: 174987
-
Aaron Ballman authored
llvm-svn: 174986
-
Dan Gohman authored
llvm-svn: 174985
-
Matt Kopec authored
Fix ELF parsing where undefined symbols were being added to the symbol table with the incorrect symbol type. llvm-svn: 174984
-
Chad Rosier authored
This is complicated by backward labels (e.g., 0b can be both a backward label and a binary zero). The current implementation assumes [0-9]b is always a label and thus it's possible for 0b and 1b to not be interpreted correctly for ms-style inline assembly. However, this is relatively simple to fix in the inline assembly (i.e., drop the [bB]). This patch also limits backward labels to [0-9]b, so that only 0b and 1b are ambiguous. Part of rdar://12470373 llvm-svn: 174983
-
Dmitri Gribenko authored
llvm-svn: 174982
-
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
-