- Jan 23, 2013
-
-
Michael J. Spencer authored
I really would have liked to split this patch up, but it would greatly complicate the lld-core and lld drivers having to deal with both {Reader,Writer}Option and TargetInfo. llvm-svn: 173217
-
rdar://problem/12711206Enrico Granata authored
Extending ValueObjectDynamicValue so that it stores a TypeAndOrName instead of a TypeSP. This change allows us to reflect the notion that a ValueObject can have a dynamic type for which we have no debug information. Previously, we would coalesce that to the static type of the object, potentially losing relevant information or even getting it wrong. This fix ensures we can correctly report the class name for Cocoa objects whose types are hidden classes that we know nothing about (e.g. __NSArrayI for immutable arrays). As a side effect, our --show-types argument to frame variable no longer needs to append custom dynamic type information. llvm-svn: 173216
-
Daniel Dunbar authored
llvm-svn: 173215
-
Bill Wendling authored
when removing one attribute. This further encapsulates the use of the attributes. llvm-svn: 173214
-
James Dennett authored
* Fix a typo, s/BeginSourceAction/BeginSourceFile/, so that the documentation for FrontendAction::BeginSourceFileAction links correctly to BeginSourceFile; * Add some basic \file documentation for FrontendAction.h; * More use of "\brief" instead of repeating the name of the entity being documented; * Stop using Doxygen-style "///" comments in FrontendAction.cpp, as they were polluting the documentation for BeginSourceFile; * Drop incorrect "\see" markup that broke Doxygen's formatting; * Other minor documentation fixes. llvm-svn: 173213
-
Michael J. Spencer authored
llvm-svn: 173212
-
Bill Wendling authored
when adding a single attribute to the function. llvm-svn: 173211
-
Bill Wendling authored
when adding a single attribute to the function. llvm-svn: 173210
-
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
-