- Jan 11, 2013
-
-
Benjamin Kramer authored
This fixes some of the cycles between libCodeGen and libSelectionDAG. It's still a complete mess but as long as the edges consist of virtual call it doesn't cause breakage. BasicTTI did static calls and thus broke some build configurations. llvm-svn: 172246
-
Nadav Rotem authored
the target if it supports the different CAST types. We didn't do this on X86 because of the different register sizes and types, but on ARM this makes sense. llvm-svn: 172245
-
Rafael Espindola authored
Before we were only checking if the new declaration itself was marked extern C. Fixes prpr14766. llvm-svn: 172243
-
Fariborz Jahanian authored
(which may yet change if we move the diagnostic outside case value). llvm-svn: 172242
-
Dmitri Gribenko authored
llvm-svn: 172241
-
Bob Wilson authored
llvm-svn: 172240
-
Manuel Klimek authored
llvm-svn: 172239
-
Manuel Klimek authored
Puts blocks always into multiple lines when they start with an ObjC keyword or minus. llvm-svn: 172238
-
Bob Wilson authored
This script used an inconsistent mix of spaces and tabs, and even ignoring that, it still had inconsistent indentation, which is pretty scary for a Python script. I also removed trailing whitespace from some lines. llvm-svn: 172237
-
Shankar Easwaran authored
llvm-svn: 172236
-
Justin Holewinski authored
llvm-svn: 172235
-
Justin Holewinski authored
Target Feature Matrix, and update the PTX column with this new category. llvm-svn: 172234
-
Manuel Klimek authored
if { foo; } would previously crash clang-format. llvm-svn: 172232
-
Manuel Klimek authored
Now we correctly parse and format: verifyFormat("struct foo a = { bar }; int n; llvm-svn: 172229
-
Eric Christopher authored
- recognize string "{memory}" in the MI generation - mark as mayload/maystore when there's a memory clobber constraint. PR14859. Patch by Krzysztof Parzyszek llvm-svn: 172228
-
Greg Clayton authored
Modified Value.cpp to share the code that gets the values as bytes (Value::GetValueAsData()) so now Value::ResolveValue() doesn't do its own thing by reading memory directly. Also modified the Value class so that you can evaluate expressions without a process, yet with some sections loaded in the target. This allows casting pointers that are in data sections to types and being able to evaluate expressions in the data. For example: (lldb) target create a.out (lldb) target modules load --file a.out --slide 0 ... find address of something in data ... (lldb) script expr_opts = lldb.SBExpressionOptions() v = lldb.target.EvaluateExpression('(foo *)0x1230000', expr_opts) print v vv = lldb.value(v) print v.pt.x Above we were able to cast a pointer to an address which was in a.out's data section and print out entire structures and navigate to the child ivars of the expression. llvm-svn: 172227
-
Dmitry Vyukov authored
llvm-svn: 172226
-
Manuel Klimek authored
void f() { return 42; } The final change that implements the feature. llvm-svn: 172225
-
Andrew Trick authored
llvm-svn: 172224
-
Andrew Trick authored
llvm-svn: 172223
-
Andrew Trick authored
llvm-svn: 172222
-
Fariborz Jahanian authored
llvm-svn: 172221
-
Andrew Trick authored
-dot-callgraph similarly follows a standard module pass pattern. Patch by Speziale Ettore! llvm-svn: 172220
-
Edwin Vane authored
RefactoringTool::run() always writes the result of rewrites to disk. Instead, make this optional and provide a method for getting the refactoring results in a memory buffer instead. Also made ClangTool polymorphic so RefactoringTool could inherit from it to properly express the IS-A relationship. This change also provides access to ClangTool's public interface, e.g. mapVirtualFile() which is important once refactored buffers start living in memory instead of on disk. Reviewers: klimek llvm-svn: 172219
-
Edwin Vane authored
RefactoringTool::run() no longer writes changes to disk automatically. Updating users of RefactoringTool to explicitly perform the write. Reviewers: klimek llvm-svn: 172218
-
Dmitry Vyukov authored
replace lists with arrays llvm-svn: 172217
-
Dmitry Vyukov authored
llvm-svn: 172216
-
Dmitry Vyukov authored
llvm-svn: 172215
-
Eli Bendersky authored
Patch by Michael Muller. llvm-svn: 172214
-
Dmitry Vyukov authored
llvm-svn: 172213
-
Daniel Jasper authored
This fixes llvm.org/PR14913. Before: A *a = new(placement) A; After: A *a = new (placement) A; llvm-svn: 172212
-
Alexander Kornienko authored
llvm-svn: 172211
-
Dmitry Vyukov authored
llvm-svn: 172210
-
Dmitry Vyukov authored
llvm-svn: 172209
-
David Chisnall authored
Objective-C runtime 1.7 or greater. llvm-svn: 172207
-
Shankar Easwaran authored
llvm-svn: 172204
-
Dmitry Vyukov authored
llvm-svn: 172203
-
Shankar Easwaran authored
llvm-svn: 172202
-
Enea Zaffanella authored
Set invalid type of declarator after emitting error diagnostics, so that it won't be later considered when instantiating the template. Added test5_inst in test/SemaCXX/condition.cpp for non-regression. llvm-svn: 172201
-
Daniel Jasper authored
Before: void aaaaaaaaaaaa(int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) GUARDED_BY( aaaaaaaaaaaaa); After: void aaaaaaaaaaaa(int aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa) GUARDED_BY(aaaaaaaaaaaaa); Also did some formatting cleanups with clang-format on the way. llvm-svn: 172200
-