- Jan 23, 2013
-
-
Michael J. Spencer authored
ErrorOr<void> represents an operation that returns nothing, but can still fail. It should be used in cases where you need the aditional user data that ErrorOr provides over error_code. llvm-svn: 173209
-
Douglas Gregor authored
from Saleem Abdulrasool! llvm-svn: 173208
-
- Jan 22, 2013
-
-
Richard Osborne authored
llvm-svn: 173204
-
Michael J. Spencer authored
Apparently this is how C++98 worked pre-DR. (Thanks Richard). llvm-svn: 173203
-
Michael Gottesman authored
llvm-svn: 173202
-
Michael Gottesman authored
[ObjCARC] Refactored out the inner most 2-loops from PerformCodePlacement into the method ConnectTDBUTraversals. The method PerformCodePlacement was doing too much (i.e. 3x loops, lots of different checking). This refactoring separates the analysis section of the method into a separate function while leaving the actual code placement and analysis preparation in PerformCodePlacement. *NOTE* Really this part of ObjCARC should be refactored out of the main pass class into its own seperate class/struct. But, it is not time to make that change yet though (don't want to make such an invasive change without fixing all of the bugs first). llvm-svn: 173201
-
Michael Liao authored
- Add list of physical registers clobbered in pseudo atomic insts Physical registers are clobbered when pseudo atomic instructions are expanded. Add them in clobber list to prevent DAG scheduler to mis-schedule them after these insns are declared side-effect free. - Add test case from Michael Kuperstein <michael.m.kuperstein@intel.com> llvm-svn: 173200
-
Kevin Enderby authored
the body does not use them and it appears the body has positional parameters. This can cause unexpected results as in the added test case. As the darwin version of gas(1) which only supported positional parameters, happened to ignore the named parameters. Now that we want to support both styles of macros we issue a warning in this specific case. rdar://12861644 llvm-svn: 173199
-
Chad Rosier authored
llvm-svn: 173198
-
Akira Hatanaka authored
llvm-svn: 173197
-
Bill Wendling authored
Use the AttributeSet when we're talking about more than one attribute. Add a function that adds a single attribute. No functionality change intended. llvm-svn: 173196
-
Kevin Enderby authored
an expression. Currently this bug causes the line to be ignored in a release build and an assert in a debug build. rdar://13062484 llvm-svn: 173195
-
Chad Rosier authored
llvm-svn: 173193
-
Michael J. Spencer authored
No functionality change. llvm-svn: 173192
-
Chad Rosier authored
llvm-svn: 173190
-
Akira Hatanaka authored
intended llvm-svn: 173189
-
Adhemerval Zanella authored
llvm-svn: 173188
-
Chad Rosier authored
inline assembly can be enable with -fasm-blocks or -fms-extensions alone. llvm-svn: 173186
-
Ted Kremenek authored
This allows users to promote -Wincompatible-pointer-type warnings to errors but keep those for "discard qualifiers" as warnings (if they so desire). Addresses <rdar://problem/13062738>. llvm-svn: 173184
-
Dmitri Gribenko authored
llvm-svn: 173183
-
Fariborz Jahanian authored
in my last patch, suggested by Argyrios. llvm-svn: 173182
-
Eli Bendersky authored
llvm-svn: 173181
-
Fariborz Jahanian authored
an unimplemented selector is consumed by "respondsToSelector:". // rdar://12938616 llvm-svn: 173179
-
Edwin Vane authored
This transform converts the usage of null pointer constants (e.g. NULL, 0, etc.) in legacy C++ code and converts them to use the new C++11 nullptr keyword. - Added use-nullptr transform. - Added C++11 support to the final syntax check. Used ArgumentAdjuster class to add -std=c++11 option to the command line options. - Added tests for use-nullptr transform. - Added tests that exercises both loop-convert and use-nullptr in the source file. TODO: There's a known bug when using both -loop-convert and -use-nullptr at the same time. Author: Tareq A Siraj <tareq.a.siraj@intel.com> Reviewers: klimek, gribozavr llvm-svn: 173178
-
Chad Rosier authored
supported. llvm-svn: 173177
-
Benjamin Kramer authored
X86: Make sure we account for the FMA4 register immediate value, otherwise rip-rel relocations will be off by one byte. PR15040. llvm-svn: 173176
-
Eli Bendersky authored
Add the x32 environment kind to the triple, and separate the concept of pointer size and callee save stack slot size, since they're not equal on x32. llvm-svn: 173175
-
Howard Hinnant authored
template typename deductions on swap<> (used in string.cpp). Use decltype(errno) to replicate the type and qualifier information for holding the errno value. Because errno is expected to be assignable, there is no need to use typename std::remove_const<decltype(errno)>::type to hold the value. llvm-svn: 173172
-
Douglas Gregor authored
would expect, and clean up the return/break inconsistencies. Thanks, Sebastian! llvm-svn: 173171
-
Nico Weber authored
type with an implicit initializer expression. Patch from Will Wilson <will@indefiant.com>! llvm-svn: 173170
-
Nico Weber authored
Add a few comments to the ObjC test cases. llvm-svn: 173169
-
Manuel Klimek authored
Changing nextToken() in the UnwrappedLineParser to get the next non-comment token. This allows us to correctly layout a whole class of snippets, like: if /* */(/* */ a /* */) /* */ f() /* */; /* */ else /* */ g(); Fixes a bug in the formatter where we would assume there is a previous non-comment token. Also adds the indent level of an unwrapped line to the debug output in the parser. llvm-svn: 173168
-
Shankar Easwaran authored
change enum class to enum, as g++ doesnot support bitfields with enumerated classes with c++11 flag set llvm-svn: 173166
-
Howard Hinnant authored
building against libsupc++ as the functions for which they are used are provided by libsupc++. Simply preprocess them away when building against libsupc++. llvm-svn: 173165
-
Howard Hinnant authored
llvm-svn: 173164
-
Dmitri Gribenko authored
This is done to avoid odd test failures, like the one fixed in r171243. llvm-svn: 173163
-
Evgeniy Stepanov authored
llvm-svn: 173161
-
Daniel Jasper authored
Before: aaaaaaaaaaaaaaa(aaaaaaaaa, aaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaa) .aaaaaaaaaaaaaaaaaa(); After: aaaaaaaaaaaaaaa(aaaaaaaaa, aaaaaaaaa, aaaaaaaaaaaaaaaaaaaaaaa).aaaaaaaaaaaaaaaaaa(); llvm-svn: 173160
-
Alexey Samsonov authored
llvm-symbolizer: factor out bits of the tool into separate LLVMSymbolize.{h,cpp} files. No functionality change. llvm-svn: 173159
-
Evgeniy Stepanov authored
llvm-svn: 173158
-