- Jul 15, 2011
-
-
John McCall authored
which is required given the current setup for template argument deduction substitution validation, and add a test case to make sure we don't break it in the future. llvm-svn: 135262
-
Chandler Carruth authored
desired overload. This is a bit of a hackish workaround to fix the compile after r135259. Let me know if there is a better approach. llvm-svn: 135261
-
Chandler Carruth authored
the exception of its uses of SourceManager and SourceLocation APIs. llvm-svn: 135260
-
Jeffrey Yasskin authored
memory for the result. llvm-svn: 135259
-
John McCall authored
Also add the missing serialization support for SEHTryStmt, SEHFinallyStmt, and SEHExceptStmt, and fix and finish the serialization support for AsTypeExpr. In addition, change the code so that it will no longer link if a Stmt subclass is missing serialization support. llvm-svn: 135258
-
John McCall authored
is right --- shouldn't there be a TypeLoc in here somewhere? --- but at least it doesn't have a redundant QualType and a broken children() method. Noticed this while doing things in serialization. llvm-svn: 135257
-
Chris Lattner authored
to prevent recursive compilation problems. This fixes a failure of CodeGen/decl.c on x86-32 targets that don't fill in the coerce-to type. llvm-svn: 135256
-
Jordy Rose authored
Clean up UnixAPIChecker, including switching its array of BugTypes to llvm::OwningPtr<BugType> vars (the new convention). No functionality change. llvm-svn: 135255
-
Evan Cheng authored
llvm-svn: 135254
-
Chris Lattner authored
which was just replaceAllUsesWith without some assertions. It was needed back when type refinement was alive. llvm-svn: 135253
-
Chris Lattner authored
4 files changed, 15 insertions(+), 60 deletions(-) llvm-svn: 135252
-
Chris Lattner authored
llvm-svn: 135251
-
Jordy Rose authored
Clean up MacOSXAPIChecker, including switching its array of BugTypes to a single llvm::OwningPtr<BugType> (the new convention). No functionality change. llvm-svn: 135250
-
Chris Lattner authored
Devirtualize the isNegativeZeroValue method. llvm-svn: 135249
-
Chris Lattner authored
llvm-svn: 135248
-
Alexis Hunt authored
proper va_list time on non-darwin platforms. llvm-svn: 135247
-
Alexis Hunt authored
issues with it. llvm-svn: 135246
-
Chris Lattner authored
that type refinement is toast. llvm-svn: 135245
-
Chris Lattner authored
types. Fore xample, we used to lower: struct bar { int a; }; struct foo { void (*FP)(struct bar); } G; to: %struct.foo = type { {}* } since the function pointer would cause recursive translation of bar and we didn't know if that would get us into trouble. We are now smart enough to know that it is fine, so we get this type instead: %struct.foo = type { void (i32)* } Codegen still needs to be prepared for uncooperative types at any place, which is why I let the maximally uncooperative code sit around for awhile to help shake out the bugs. llvm-svn: 135244
-
John McCall authored
to represent a fully-substituted non-type template parameter. This should improve source fidelity, as well as being generically useful for diagnostics and such. llvm-svn: 135243
-
Chandler Carruth authored
was really intended, and it may have been required prior to some of the recent refactors. Including it however causes LLVMX86Desc to need symbols from LLVMX86CodeGen, forming a dependency cycle. This was masked in almost all builds: Clang, and GCC w/ optimizations didn't actually emit the symbols! llvm-svn: 135242
-
Ted Kremenek authored
llvm-svn: 135241
-
Greg Clayton authored
llvm-svn: 135240
-
Chandler Carruth authored
llvm-svn: 135239
-
Enrico Granata authored
- you can use a Python script to write a summary string for data-types, in one of three ways: -P option and typing the script a line at a time -s option and passing a one-line Python script -F option and passing the name of a Python function these options all work for the "type summary add" command your Python code (if provided through -P or -s) is wrapped in a function that accepts two parameters: valobj (a ValueObject) and dict (an LLDB internal dictionary object). if you use -F and give a function name, you're expected to define the function on your own and with the right prototype. your function, however defined, must return a Python string - test case for the Python summary feature - a few quirks: Python summaries cannot have names, and cannot use regex as type names both issues will be fixed ASAP major redesign of type summary code: - type summary working with strings and type summary working with Python code are two classes, with a common base class SummaryFormat - SummaryFormat classes now are able to actively format objects rather than just aggregating data - cleaner code to print descriptions for summaries the public API now exports a method to easily navigate a ValueObject hierarchy New InputReaderEZ and PriorityPointerPair classes Several minor fixes and improvements llvm-svn: 135238
-
Evan Cheng authored
solution but it is a small step towards removing the horror that is TargetAsmInfo. llvm-svn: 135237
-
Bill Wendling authored
llvm-svn: 135236
-
Chandler Carruth authored
backend. Moved some MCAsmInfo files down into the MCTargetDesc sublibraries, removed some (i suspect long) dead files from other parts of the CMake build, etc. Also copied the include directory hack from the Makefile. Finally, updated the lib deps. I spot checked this, and think its correct, but review appreciated there. llvm-svn: 135234
-
Chad Rosier authored
specify where bug reports should be submitted. Part of rdar://9575623 llvm-svn: 135233
-
Devang Patel authored
llvm-svn: 135232
-
Benjamin Kramer authored
llvm-svn: 135231
-
Johnny Chen authored
llvm-svn: 135230
-
Benjamin Kramer authored
- I don't see a better way than duplicating all the code. llvm-svn: 135229
-
Benjamin Kramer authored
MachOObjectFile: Change isSectionText to return true for sections named text, not for load commands name __TEXT (which isn't the case in actual object files) llvm-svn: 135228
-
Bill Wendling authored
llvm-svn: 135227
-
Chandler Carruth authored
llvm-svn: 135226
-
Chandler Carruth authored
llvm-svn: 135225
-
Chandler Carruth authored
'expansion'. llvm-svn: 135224
-
Chandler Carruth authored
ARCMigrate. llvm-svn: 135223
-
Richard Trieu authored
Remove warnings of constant operands of logical operators from template instantiations. Upon instantiation of template, value-dependent parameters are replaced by equivalent literals, so code like: template<unsigned int A, unsigned int B> struct S { int foo() { int x = A && B; } } will not warn on A && B on every instantiation. This will still warn on other cases inside templates, which will be caught on checking the template definition. llvm-svn: 135222
-