- Jun 06, 2012
-
-
Benjamin Kramer authored
LLVM should be -Wunused-private-field clean now. llvm-svn: 158103
-
Andrew Trick authored
Allow targets to access this API. It's required for RegisterPressure. llvm-svn: 158102
-
Benjamin Kramer authored
llvm-svn: 158101
-
Benjamin Kramer authored
llvm-svn: 158100
-
Andrew Trick authored
Make it a general utility for use by Targets. llvm-svn: 158097
-
Benjamin Kramer authored
LLVM is now -Wunused-private-field clean except for - lib/MC/MCDisassembler/Disassembler.h. Not sure why it keeps all those unaccessible fields. - gtest. llvm-svn: 158096
-
Johnny Chen authored
llvm-svn: 158095
-
David Blaikie authored
Add a -rewrite-includes option, which is similar to -rewrite-macros, but only expands #include directives. Patch contributed by Lubos Lunak (l.lunax@suse.cz). Review by Matt Beaumont-Gay (matthewbg@google.com). llvm-svn: 158093
-
Jim Ingham authored
llvm-svn: 158092
-
David Blaikie authored
llvm-svn: 158091
-
Benjamin Kramer authored
There are some that I didn't remove this round because they looked like obvious stubs. There are dead variables in gtest too, they should be fixed upstream. llvm-svn: 158090
-
Manuel Klimek authored
llvm-svn: 158088
-
Chad Rosier authored
X86. rdar://11496434 llvm-svn: 158087
-
Benjamin Kramer authored
llvm-svn: 158086
-
Jordan Rose authored
In standard C since C89, a 'translation-unit' is syntactically defined to have at least one "external-declaration", which is either a decl or a function definition. In Clang the latter gives us a declaration as well. The tricky bit about this warning is that our predefines can contain external declarations (__builtin_va_list and the 128-bit integer types). Therefore our AST parser now makes sure we have at least one declaration that doesn't come from the predefines buffer. Also, remove bogus warning about empty source files. This doesn't catch source files that only contain comments, and never fired anyway because of our predefines. PR12665 and <rdar://problem/9165548> llvm-svn: 158085
-
Chad Rosier authored
matter. rdar://11579835 llvm-svn: 158084
-
Kostya Serebryany authored
llvm-svn: 158083
-
Kostya Serebryany authored
llvm-svn: 158082
-
Tobias Grosser authored
llvm-svn: 158081
-
Jakob Stoklund Olesen authored
Remat has been stable for years, and it isn't done by LiveIntervalAnalysis any longer. (See LiveRangeEdit). llvm-svn: 158079
-
Alexey Samsonov authored
llvm-svn: 158078
-
Alexey Samsonov authored
llvm-svn: 158077
-
Kostya Serebryany authored
llvm-svn: 158076
-
Alexey Samsonov authored
[Sanitizer] Use common CHECK machinery. Currently each tool has to define its own CheckFailed function. llvm-svn: 158075
-
Kostya Serebryany authored
llvm-svn: 158074
-
Duncan Sands authored
instructions to reoptimize. Exploit this to more systematically eliminate dead instructions (this isn't very useful in practice but is convenient for analysing some testcase I am working on). No need for WeakVH any more: use an AssertingVH instead. llvm-svn: 158073
-
Kostya Serebryany authored
[asan] start compacting the allocator header, the goal is to make it 16 bytes w/o losing any information llvm-svn: 158072
-
Kostya Serebryany authored
llvm-svn: 158071
-
Alexey Samsonov authored
llvm-svn: 158070
-
Benjamin Kramer authored
llvm-svn: 158069
-
Alexey Samsonov authored
llvm-svn: 158068
-
Alexey Samsonov authored
llvm-svn: 158067
-
Alexey Samsonov authored
[Sanitizer]: Introduce a common internal printf function. For now, also use tool-specific wrappers TsanPrintf (its output is controlled by TSan flags) and AsanPrintf (which copies its results to the ASan-private buffer). Supported formats: %[z]{d,u,x}, %s, %p. Re-write all format strings in TSan according to this format (this should have no effect on 64-bit platforms). llvm-svn: 158065
-
Tobias Grosser authored
We will use the cuda library for the upcoming automatic GPGPU code generation. Contributed by: Yabin Hu <yabin.hwu@gmail.com> llvm-svn: 158064
-
Francois Pichet authored
Zap the /Za compiler switch from MSVC projects, the option is considered harmful even by Microsoft people and clang won't build using the MSVC 2012 RC if not removed. Only 1 minor code change was necessary: can't use cdecl as variable name anymore. llvm-svn: 158063
-
Alexey Samsonov authored
llvm-svn: 158060
-
Alexey Samsonov authored
llvm-svn: 158059
-
Alexey Samsonov authored
llvm-svn: 158058
-
Alexey Samsonov authored
llvm-svn: 158057
-
Alexey Samsonov authored
llvm-svn: 158056
-