- Mar 07, 2011
-
-
Johnny Chen authored
llvm-svn: 127179
-
Carl Norum authored
Change diagnostic message from "Extension" to "ExtWarn" to find more problems with missing semicolons. llvm-svn: 127177
-
Ted Kremenek authored
llvm-svn: 127176
-
Cameron Zwarich authored
llvm-svn: 127175
-
Devang Patel authored
CodeGenFunction::GenerateBlockFunction() should initialize DebugInfo just like CodeGenFunction::GenerateCode() llvm-svn: 127174
-
Johnny Chen authored
Currently it has only test cases for SBThread.GetStopDescription() API. Also modified lldb.swig to add typemap for (char *dst, size_t dst_len) which occurs for SBThread::GetStopDescription() C++ API. For Python scripting: # Due to the typemap magic (see lldb.swig), we pass in an (int)length to GetStopDescription # and expect to get a Python string as the result object! # The 100 is just an arbitrary number specifying the buffer size. stop_description = thread.GetStopDescription(100) llvm-svn: 127173
-
Rafael Espindola authored
llvm-svn: 127172
-
Argyrios Kyrtzidis authored
It will accept flexible array in union and also as the sole element of a struct/class. Fixes rdar://9065507. llvm-svn: 127171
-
Duncan Sands authored
about possibly swapped memset parameters. Avoid the warning. llvm-svn: 127170
-
Jim Grosbach authored
llvm-svn: 127169
-
Jakob Stoklund Olesen authored
In this case, the value need to be available at the load index instead of the normal use index. llvm-svn: 127167
-
Greg Clayton authored
then we end up using older .o files with out of date section remappings if we debug, compile + fix, and debug again. llvm-svn: 127166
-
Devang Patel authored
DebugInfo can be enabled or disabled at function level (e.g. using an attribute). However, at module level it is determined by command line option and the state of command line option does not change during compilation. Make this layering explicit and fix accidental cases where the code generator was checking whether module has debug info enabled instead of checking whether debug info is enabled for this function or not. llvm-svn: 127165
-
Devang Patel authored
21 int main() { 22 A a; For example, here user would expect to stop at line 22, even if A's constructor leads to a call through CXXDefaultArgExpr. This fixes ostream-defined.exp regression from gdb testsuite. llvm-svn: 127164
-
Owen Anderson authored
llvm-svn: 127163
-
Douglas Gregor authored
of a C++0x inline namespace within enclosing namespaces, as noted in C++0x [namespace.def]p8. Fixes <rdar://problem/9006349>, a libc++ failure where Clang was rejected an explicit specialization of std::swap (since libc++ puts it into an inline, versioned namespace std::__1). llvm-svn: 127162
-
Douglas Gregor authored
dependent template specialization type, make sure to set the keyword location. Fixes some valgrind issues introduced in r127150. llvm-svn: 127159
-
Justin Holewinski authored
This allows LLVM IR using ptx_kernel or ptx_device calling conventions to be properly printed when emitted in text form. llvm-svn: 127157
-
Duncan Sands authored
left-hand-side if the result is non-zero. llvm-svn: 127156
-
Bill Wendling authored
llvm-svn: 127155
-
Bill Wendling authored
llvm-svn: 127154
-
Argyrios Kyrtzidis authored
llvm-svn: 127153
-
Eric Christopher authored
Patch by Jack Howarth. llvm-svn: 127152
-
John McCall authored
trivial to check this. Adjust for style. llvm-svn: 127151
-
Douglas Gregor authored
to set the source-location information for the template arguments to the *transformed* source-location information, not the original source-location information. Fixes <rdar://problem/8986308> (a libc++ SFINAE issue) and the Boost.Polygon failure. llvm-svn: 127150
-
Nick Lewycky authored
right thing, instead of merely being unable to analyze and the transform doesn't occur. llvm-svn: 127149
-
Douglas Gregor authored
llvm-svn: 127148
-
John McCall authored
allocation and therefore requires a null-check. We were doing that, but we weren't treating the new-initializer as being conditionally executed, which means it was possible to get ill-formed IR as in PR9298. llvm-svn: 127147
-
Nick Lewycky authored
then the result could go either way. If it's provably positive then so is the srem. Fixes PR9343 #7! llvm-svn: 127146
-
Argyrios Kyrtzidis authored
llvm-svn: 127145
-
Anders Carlsson authored
llvm-svn: 127144
-
Anders Carlsson authored
llvm-svn: 127143
-
Joerg Sonnenberger authored
Pass down the correct C->getArgs, but keep it with the original DerivedArgList type. Slightly adjust the MakeIndex call for the different base type. This unbreaks the handling of --no-mangle on Darwin. llvm-svn: 127142
-
Douglas Gregor authored
too low-level to actually be useful but is just interesting enough for people to try to use it (which won't actually work beyond toy examples). To bring back the AST printer, it needs to be: - Complete, covering all of C/C++/Objective-C - Documented, with appropriate Schema against which we can validate the output - Designed for C/C++/Objective-C, not Clang's specific ASTs - Stable across Clang versions - Well-tested llvm-svn: 127141
-
NAKAMURA Takumi authored
llvm-svn: 127140
-
Joerg Sonnenberger authored
llvm-svn: 127139
-
Rafael Espindola authored
thing for variables. llvm-svn: 127138
-
Joerg Sonnenberger authored
input is specified, use stdin implicitly. Based on a patch from Roman Divacky. llvm-svn: 127137
-
Douglas Gregor authored
corner cases like the one in PR9301." which caused PR9416. llvm-svn: 127136
-
Chris Lattner authored
llvm-svn: 127135
-