- Jan 11, 2013
-
-
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
-
Justin Holewinski authored
Remove lib/Target/PTX directory. It was empty and obsolete but apparently git-svn does not remove empty directories. llvm-svn: 172199
-
Dmitry Vyukov authored
llvm-svn: 172197
-
Daniel Jasper authored
Added option to put each constructor initializer on its own line if not all initializers fit on a single line. Enabling this for Google style now as the style guide (arguable) suggests it. Not sure whether we also want it for LLVM. llvm-svn: 172196
-
Enea Zaffanella authored
llvm-svn: 172195
-
Kostya Serebryany authored
llvm-svn: 172194
-
Dmitry Vyukov authored
llvm-svn: 172193
-
Dmitry Vyukov authored
llvm-svn: 172192
-
Dmitry Vyukov authored
llvm-svn: 172191
-