- Feb 22, 2012
-
-
Andrew Trick authored
llvm-svn: 151178
-
Chad Rosier authored
Add new driver warning from r151174 to a warning group. Please let me know if this isn't the appropriate grouping. llvm-svn: 151177
-
Fariborz Jahanian authored
abi. llvm-svn: 151176
-
Greg Clayton authored
llvm-svn: 151175
-
Chad Rosier authored
are likely many other OPT_xxxx_EQ options that could/should be added here. rdar://10704648 llvm-svn: 151174
-
Sebastian Redl authored
llvm-svn: 151173
-
Sebastian Redl authored
llvm-svn: 151172
-
Sebastian Redl authored
llvm-svn: 151171
-
Douglas Gregor authored
lambda closure type's function pointer conversion over user-defined conversion via a lambda closure type's block pointer conversion, always. This is a preference for more-standard code (since blocks are an extension) and a nod to efficiency, since function pointers don't require any memory management. Fixes PR12063. llvm-svn: 151170
-
Chad Rosier authored
llvm-svn: 151169
-
Benjamin Kramer authored
Python.h is a bad c++ citizen and overwrites some functions with its own macros. This conflicts with libc++'s locale header. I did some refactoring to use Python.h only where it's actually needed a few months ago so the unnecessary includes can be removed now. llvm-svn: 151168
-
Jakob Stoklund Olesen authored
llvm-svn: 151167
-
Sirish Pande authored
llvm-svn: 151166
-
Alexey Samsonov authored
llvm-svn: 151165
-
David Greene authored
Add some data structures to represent for loops. These will be referenced during object processing to do any needed iteration and instantiation. Add foreach keyword support to the lexer. Add a mode to indicate that we're parsing a foreach loop. This allows the value parser to early-out when processing the foreach value list. Add a routine to parse foreach iteration declarations. This is separate from ParseDeclaration because the type of the named value (the iterator) doesn't match the type of the initializer value (the value list). It also needs to add two values to the foreach record: the iterator and the value list. Add parsing support for foreach. Add the code to process foreach loops and create defs based on iterator values. Allow foreach loops to be matched at the top level. When parsing an IDValue check if it is a foreach loop iterator for one of the active loops. If so, return a VarInit for it. Add Emacs keyword support for foreach. Add VIM keyword support for foreach. Add tests to check foreach operation. Add TableGen documentation for foreach. Support foreach with multiple objects. Support non-braced foreach body with one object. Do not require types for the foreach declaration. Assume the iterator type from the iteration list element type. llvm-svn: 151164
-
Jakob Stoklund Olesen authored
llvm-svn: 151163
-
Alexey Samsonov authored
llvm-svn: 151162
-
Timur Iskhodzhanov authored
llvm-svn: 151161
-
Benjamin Kramer authored
llvm-svn: 151160
-
Alexey Samsonov authored
llvm-svn: 151159
-
Evgeniy Stepanov authored
Some platforms do not define pthread_t in stdlib.h. llvm-svn: 151158
-
Alexey Samsonov authored
llvm-svn: 151157
-
Chandler Carruth authored
chip in r139383, and the PSP components of the triple are really annoying to parse. Let's leave this chapter behind. There is no reason to expect LLVM to see a PSP-related triple these days, and so no reasonable motivation to support them. It might be reasonable to prune a few of the older MIPS triple forms in general, but as those at least cause no burden on parsing (they aren't both a chip and an OS!), I'm happy to leave them in for now. llvm-svn: 151156
-
Sebastian Redl authored
Fix parsing and processing initializer lists in return statements and as direct member initializers. llvm-svn: 151155
-
Hans Wennborg authored
This adds the -Wformat-non-standard flag (off by default, enabled by -pedantic), which warns about non-standard things in format strings (such as the 'q' length modifier, the 'S' conversion specifier, etc.) llvm-svn: 151154
-
Bill Wendling authored
llvm-svn: 151152
-
Bill Wendling authored
llvm-svn: 151151
-
Bill Wendling authored
llvm-svn: 151150
-
Timur Iskhodzhanov authored
llvm-svn: 151149
-
Evgeniy Stepanov authored
mach_override has been moved to a different path. sysinfo is gone. llvm-svn: 151148
-
Alexander Potapenko authored
Define AsanDumpProcessMaps as unimplemented on Windows. This should fix the Windows build. llvm-svn: 151147
-
Sebastian Redl authored
I think there's a deeper problem here in the way TransformCXXConstructExpr works, but I won't tackle it now. llvm-svn: 151146
-
Timur Iskhodzhanov authored
llvm-svn: 151145
-
Eric Christopher authored
Worth another 45k (1%) off of a large C++ testcase. rdar://10909458 llvm-svn: 151144
-
Eric Christopher authored
llvm-svn: 151143
-
Eric Christopher authored
llvm-svn: 151142
-
Alexander Potapenko authored
llvm-svn: 151141
-
Francois Pichet authored
In -fdelayed-template-parsing mode, reenter every scope when late parsing a templated function; (Not just the template parameter scope as previously). Also enter the scope stack in the correct order. Otherwise this breaks some invariant during name lookup especially when dealing with shadowed declaration Fix PR11931. llvm-svn: 151140
-
Alexander Potapenko authored
llvm-svn: 151139
-
Craig Topper authored
Declare register classes as const. Fix a couple pointers to register classes that weren't already const. llvm-svn: 151138
-