- Jun 24, 2012
-
-
John McCall authored
llvm-svn: 159089
-
- Jun 23, 2012
-
-
Fariborz Jahanian authored
id <Protocol>. // rdar://11618852 llvm-svn: 159084
-
Hans Wennborg authored
This adds support for the tls_model attribute. This allows the user to choose a TLS model that is better than what LLVM would select by default. For example, a variable might be declared as: __thread int x __attribute__((tls_model("initial-exec"))); if it will not be used in a shared library that is dlopen'ed. This depends on LLVM r159077. llvm-svn: 159078
-
Alexis Hunt authored
attributes in more places where we didn't and catching a lot more issues. This implements nearly every aspect of C++11 attribute parsing, except for: - Attributes are permitted on explicit instantiations inside the declarator (but not preceding the decl-spec) - Attributes are permitted on friend declarations of functions. - Multiple instances of the same attribute in an attribute-list (e.g. [[noreturn, noreturn]], not [[noreturn]] [[noreturn]] which is conforming) are allowed. The first two are marked as expected-FIXME in the test file and the latter is probably a defect and is currently untested. Thanks to Richard Smith for providing the lion's share of the testcases. llvm-svn: 159072
-
Nico Weber authored
Heavily based on a patch from Aaron Wishnick <aaron.s.wishnick@gmail.com>. I'll clean up the duplicated function in CodeGen as a follow-up, later today or tomorrow. llvm-svn: 159060
-
Timur Iskhodzhanov authored
[Windows] Fix mangling of repeated types in the presence of bool and function pointers PR13176,PR13177 llvm-svn: 159059
-
Charles Davis authored
MicrosoftMangle: Fix mangling of integral constant non-type template arguments in a class specialization. llvm-svn: 159056
-
Richard Smith authored
llvm-svn: 159054
-
Ted Kremenek authored
llvm-svn: 159047
-
Kaelyn Uhrain authored
llvm-svn: 159046
-
Anna Zaks authored
relinquish memory. llvm-svn: 159043
-
Anna Zaks authored
(Committed in r159038 by mistake.) llvm-svn: 159040
-
Anna Zaks authored
This would be useful to investigate performance issues. llvm-svn: 159038
-
Anna Zaks authored
llvm-svn: 159037
-
Anna Zaks authored
llvm-svn: 159036
-
- Jun 22, 2012
-
-
Nuno Lopes authored
revert CodeGen support for the alloc_size attribute until we finish the design of a more generic metadata node llvm-svn: 159016
-
Jordan Rose authored
We don't handle exceptions yet, so we treat them as sinks. ExprEngine hardcodes messages that are known to raise Objective-C exceptions like -raise, but it was only checking for +raise:format: and +raise:format:arguments: on NSException itself, not subclasses. <rdar://problem/11724201> llvm-svn: 159010
-
DeLesley Hutchins authored
properly if there is a join point in the control flow graph that involves a trylock. Also changes the source locations of some warnings to be more consistent. llvm-svn: 159008
-
Nico Weber authored
when the calling site is a member function template. Effectively reverts r111675. llvm-svn: 159004
-
Dmitri Gribenko authored
llvm-svn: 159001
-
James Dennett authored
llvm-svn: 158985
-
James Dennett authored
llvm-svn: 158982
-
James Dennett authored
llvm-svn: 158981
-
James Dennett authored
* Primarily fixed \param commands with names not matching any actual parameters of the documented functions. In many cases this consists just of fixing up the parameter name in the \param to match the code, in some it means deleting obsolete documentation and occasionally it means documenting the parameter that has replaced the older one that was documented, which sometimes means some simple reverse-engineering of the docs from the implementation; * Fixed \param ParamName [out] to the correct format with [out] before the parameter name; * Fixed some \brief summaries. llvm-svn: 158980
-
James Dennett authored
* Add \brief summaries; * Escape # characters in Doxygen comments; * Add \code...\endcode markup for code examples; * Add \verbatim...\endverbatim markup for grammar productions. llvm-svn: 158976
-
James Dennett authored
llvm-svn: 158974
-
James Dennett authored
* Use \p param for a parameter reference, not the (erroneous) form \arg param; * Escape # characters in Doxygen comments as needed. llvm-svn: 158971
-
James Dennett authored
llvm-svn: 158970
-
James Dennett authored
llvm-svn: 158968
-
James Dennett authored
llvm-svn: 158965
-
Anna Zaks authored
transfered with dataWithBytesNoCopy. llvm-svn: 158958
-
Rafael Espindola authored
Revert "If an object (such as a std::string) with an appropriate c_str() member function" This reverts commit 7d96f6106bfbd85b1af06f34fdbf2834aad0e47e. llvm-svn: 158949
-
Dmitri Gribenko authored
Handle include directive with comments. It turns out that in this case comments are not coming in source order. Instead of trying to std::sort() comments (which can be costly), just remove comments that are not in order. llvm-svn: 158940
-
- Jun 21, 2012
-
-
Fariborz Jahanian authored
then it should get the same warnings that id->isa gets. // rdar://11702488 llvm-svn: 158938
-
Dmitri Gribenko authored
llvm-svn: 158936
-
David Blaikie authored
This now correctly covers, I believe, all the pointer types: * 'any' pointers (both function and data normal pointers and ObjC object pointers) * member pointers (both function and data) * block pointers llvm-svn: 158931
-
Fariborz Jahanian authored
method declarations. // rdar://11578353. llvm-svn: 158929
-
John McCall authored
TargetSimulatroVersionFromDefines if present; this also makes it easier to chain things correctly. Noted by an internal review. llvm-svn: 158926
-
Alexey Samsonov authored
1. Accept flags -g[0-3], -ggdb[0-3], -gdwarf-[2-4] and collapse them to simple -g (except -g0/-ggdb0). 2. Produce driver error on unsupported formats (-gcoff, -gstabs, -gvms) and options (-gtoggle). 3. Recognize and ignore flags -g[no-]strict-dwarf, -g[no-]record-gcc-switches. llvm-svn: 158906
-
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++.) This leads to odd warnings when returning enum constants directly in blocks with inferred return types. The easiest way out of this is to pretend that, like C++, enum constants have enum type when being returned from a block. <rdar://problem/11662489> llvm-svn: 158899
-