- Jul 03, 2012
-
-
Bob Wilson authored
By default on OS X 10.8, we don't link with a crt1.o file and the linker knows to use _main as the entry point. But, when compiling with -pg, we need to link with the gcrt1.o file, and the linker needs to be told to use the "start" symbol as the entry point. The -no_new_main linker option does that last part. <rdar://problem/11491405> llvm-svn: 159683
-
Arnaud A. de Grandmaison authored
llvm-svn: 159682
-
Dmitri Gribenko authored
llvm-svn: 159681
-
DeLesley Hutchins authored
llvm-svn: 159679
-
Akira Hatanaka authored
values: - Return integer vectors in integer registers. - Pass vector arguments in integer registers. - Set an upper bound for argument alignment. The largest alignment is 8-byte for O32 and 16-byte for N32/64. llvm-svn: 159676
-
DeLesley Hutchins authored
e.g. ExprWithCleanups. llvm-svn: 159674
-
Dmitri Gribenko authored
llvm-svn: 159673
-
Hal Finkel authored
Patch by Andy Gibbs. llvm-svn: 159665
-
Argyrios Kyrtzidis authored
may be destroying an ASTUnit while cleanupOnDiskMapAtExit is getting called. rdar://11781241 llvm-svn: 159664
-
NAKAMURA Takumi authored
llvm-svn: 159662
-
Matt Beaumont-Gay authored
llvm-svn: 159635
-
Nico Weber authored
llvm-svn: 159634
-
Nico Weber authored
(cf -Wunused-private-field and several other existing -field diagnostics.) llvm-svn: 159633
-
Chandler Carruth authored
initializer. I really feel like Clang should warn about this, but I can't describe a good reason. GCC will warn on this in some cases under -Wsequence-point, but it actually seems like a false positive for that warning.... llvm-svn: 159631
-
John McCall authored
if we want to ignore a result, the Dest will be null. Otherwise, we must copy into it. This means we need to ensure a slot when loading from a volatile l-value. With all that in place, fix a bug with chained assignments into __block variables of aggregate type where we were losing insight into the actual source of the value during the second assignment. llvm-svn: 159630
-
James Dennett authored
* Added file header documentation with \file and \brief; * Cleaned up existing doc comments and added/annotated \brief summaries. llvm-svn: 159629
-
James Dennett authored
llvm-svn: 159628
-
Argyrios Kyrtzidis authored
given a cursor pointing to a C++ method call or an ObjC message, returns non-zero if the method/message is "dynamic", meaning: For a C++ method: the call is virtual. For an ObjC message: the receiver is an object instance, not 'super' or a specific class. rdar://11779185 llvm-svn: 159627
-
Fariborz Jahanian authored
c-functions declared in implementation should have their parsing delayed until the end so, they can access forward declared private methods. // rdar://10387088 llvm-svn: 159626
-
Richard Smith authored
initialize any variable. This is extremely conservative, but is sufficient for now. llvm-svn: 159620
-
James Dennett authored
* Primarily, added \brief to most of include/clang/Basic, instead of prefixing the comments with "DeclaredName - "; * Made some brief summaries significantly briefer; * Fixed up some erroneous uses of \see and \arg; * Fixed up some extraneous backslashes in \code...\endcode blocks; * Fixed up some typos/spelling errors. llvm-svn: 159616
-
Richard Smith authored
test/Driver/crash-report.c: don't fail if there are no files left behind by a previous run of this test! llvm-svn: 159615
-
DeLesley Hutchins authored
use scoped_lockable without putting unlock_function on the destructor. llvm-svn: 159609
-
Jordan Rose authored
This is NOT full-blown support for operator new, but removes some nasty duplicated code introduced in r158784. llvm-svn: 159608
-
DeLesley Hutchins authored
llvm-svn: 159607
-
DeLesley Hutchins authored
llvm-svn: 159606
-
David Blaikie authored
This adds validation that the * repro source is only rewrite-includes processed, not fully preprocessed. * repro script contains macro definitions (-DFOO=BAR). Based on suggestions/help by Matt Beaumont-Gay. llvm-svn: 159605
-
- Jul 02, 2012
-
-
DeLesley Hutchins authored
llvm-svn: 159601
-
Matt Beaumont-Gay authored
llvm-svn: 159600
-
Chandler Carruth authored
a Clang target which hits the same bug directly. llvm-svn: 159598
-
Jordan Rose authored
llvm-svn: 159596
-
Jordan Rose authored
...and instead add an accessor. We're not using this today, but it's something that should probably stay in the source for potential clients, and it doesn't cost a lot. (ObjCPropertyAccess is only created on the stack, and right now there's only ever one alive at a time.) This reverts r159581 / commit 8e674e1da34a131faa7d43dc3fcbd6e49120edbe. llvm-svn: 159595
-
Chandler Carruth authored
Clang unit tests. It's not clear why we support this mode in builds where LLVM is available (LLVM itself does not), but at least this makes us support it correctly. This also fixes a long-standing bug where we would pass the unit test param flag to lit in the standalone build even though the standalone build *never* has the unittests built and ready for testing. llvm-svn: 159594
-
David Blaikie authored
Now that we're only using -frewrite-includes rather than full preprocessing when producing repro source files, we should also include command line macro definitions in the repro script. I don't have a test case for this because I'm not sure if/how I can open the crash report file when the name is only known by scraping the crash report output. Suggestions welcome if anyone thinks it'd be helpful. llvm-svn: 159592
-
Jordan Rose authored
In C, enum constants have the type of the enum's underlying integer type, rather than the type of the enum. (This is not true in C++.) Thus, when a block's return type is inferred from an enum constant, it is incompatible with expressions that return the enum type. In r158899, I told block returns to pretend that enum constants have enum type, like in C++. Doug Gregor pointed out that this can break existing code. Now, we don't check the types of return statements until the end of the block. This lets us go back and add implicit casts in blocks with mixed enum constants and enum-typed expressions. <rdar://problem/11662489> (again) llvm-svn: 159591
-
Eli Friedman authored
When we're looking for redeclarations which might provide a definition in CodeGen, make sure we examine all the redeclarations. PR13252. llvm-svn: 159586
-
Ted Kremenek authored
llvm-svn: 159585
-
Douglas Gregor authored
template instantiation. I wasn't able to reproduce this down to anything small enough to put in our test suite, but it's "obviously" okay to set the invalid bit earlier and precludes a known-broken-but-not-marked-broken class from being used elsewhere. llvm-svn: 159584
-
Chandler Carruth authored
standalone section of the Clang CMake files. This will likely make the lit runs in Clang much more suitable to IDEs such as Xcode and MSVC when operating in a standalone mode. llvm-svn: 159582
-
David Blaikie authored
This member became unused in r159559. llvm-svn: 159581
-