| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
| |
llvm-svn: 160780
|
| |
|
|
| |
llvm-svn: 160772
|
| |
|
|
|
|
|
|
|
|
| |
- Some cleanup(the TODOs) will be done after ObjC method inlining is
complete.
- Simplified CallEvent::getDefinition not to require ISDynamicDispatch
parameter.
- Also addressed Jordan's comments from r160530.
llvm-svn: 160768
|
| |
|
|
|
|
| |
null/uninitialized pointer.
llvm-svn: 160767
|
| |
|
|
|
|
| |
testcase.
llvm-svn: 160766
|
| |
|
|
|
|
|
|
| |
value by scanning the path, rather than assuming we have visited the '?:' operator
as a terminator (which sets a value indicating which expression to grab the
final ternary expression value from).
llvm-svn: 160760
|
| |
|
|
|
|
|
|
|
| |
have the time
to fix all the issues. Currently the code is essentially unmaintained and buggy, and
needs major revision (with coupled enhancements to the analyzer core).
llvm-svn: 160754
|
| |
|
|
|
|
|
|
| |
-internal-externc-isystem.
rdar://11949066
llvm-svn: 160752
|
| |
|
|
|
|
|
| |
-iwithprefixbefore, and -isystem options, per Matt's suggestion.
rdar://11949066
llvm-svn: 160750
|
| |
|
|
|
|
|
|
|
| |
-Strip -iquote and -M options.
-Quote -D options to avoid problems with command line macros that include
parens.
rdar://11949066
llvm-svn: 160743
|
| |
|
|
| |
llvm-svn: 160738
|
| |
|
|
| |
llvm-svn: 160720
|
| |
|
|
|
|
|
|
| |
assertion failure.
I saw the case it XPASSes.
llvm-svn: 160715
|
| |
|
|
| |
llvm-svn: 160707
|
| |
|
|
|
|
| |
<rdar://problem/10987863>.
llvm-svn: 160706
|
| |
|
|
|
|
|
|
|
|
| |
Rather than adding a ContainsUnexpandedParameterPack bit to essentially every
AST node, we tunnel the bit directly up to the surrounding lambda expression
when we reach a context where an unexpanded pack can not normally appear.
Thus any statement or declaration within a lambda can now potentially contain
an unexpanded parameter pack.
llvm-svn: 160705
|
| |
|
|
| |
llvm-svn: 160700
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This tests for the ability to include a "message" field in availability
attributes, like so:
extern void ATSFontGetName(const char *oName)
__attribute__((availability(macosx,introduced=8.0,deprecated=9.0,
message="use CTFontCopyFullName")));
This was actually supported in Clang 3.1, but we got a request for a
__has_feature so that header files can use this more safely. It's
unfortunate that the 3.1 release doesn't include this, however.
<rdar://problem/11886458>
llvm-svn: 160699
|
| |
|
|
| |
llvm-svn: 160697
|
| |
|
|
|
|
| |
parameter names.
llvm-svn: 160696
|
| |
|
|
|
|
|
|
|
| |
short-circuiting when building the CFG. Also be sure to skip parens before
checking for the && / || special cases. Finally, fix some crashes in CFG
printing in the presence of calls to destructors for array of array of class
type.
llvm-svn: 160691
|
| |
|
|
|
|
| |
unless they appear in a decl-specifier-seq.
llvm-svn: 160688
|
| |
|
|
| |
llvm-svn: 160686
|
| |
|
|
|
|
|
|
|
|
| |
A warning was added in r150128 for returning non-C compatible
user-defined types from functions with C linkage.
This makes the text more clear for the case when the type isn't
decidedly non-C compatible, but incomplete.
llvm-svn: 160681
|
| |
|
|
|
|
| |
microsoft)
llvm-svn: 160667
|
| |
|
|
| |
llvm-svn: 160660
|
| |
|
|
|
|
|
| |
variables that have static storage duration, it removes debug info on the
emitted initializer function but not all debug info about this variable.
llvm-svn: 160659
|
| |
|
|
|
|
| |
has a trailing return type.
llvm-svn: 160646
|
| |
|
|
|
|
|
| |
when a \param command does not have a parameter name, just return an empty
string instead.
llvm-svn: 160638
|
| |
|
|
|
|
|
|
| |
rendering mode for clients that don't want to interpret Doxygen commands.
Also add a libclang API to query this information.
llvm-svn: 160633
|
| |
|
|
| |
llvm-svn: 160626
|
| |
|
|
|
|
| |
(PR13182)
llvm-svn: 160625
|
| |
|
|
| |
llvm-svn: 160622
|
| |
|
|
|
|
|
|
| |
scope to -Wc++11-extensions. Move extra semicolon after member function
definition diagnostic out of -pedantic, since C++ allows a single semicolon
there. Keep it in -Wextra-semi, though, since it's still questionable.
llvm-svn: 160618
|
| |
|
|
|
|
|
|
| |
structor class under ARC, that struct/class does not have a trivial
move constructor or move assignment operator. Fixes the rest of
<rdar://problem/11738725>.
llvm-svn: 160615
|
| |
|
|
|
|
|
|
|
|
| |
change once it's been assigned. It can change in two ways:
1) In a template instantiation, the context declaration should be the
instantiated declaration, not the declaration in the template.
2) If a lambda appears in the pattern of a variadic pack expansion, the
mangling number will depend on the pack length.
llvm-svn: 160614
|
| |
|
|
|
|
|
|
|
|
| |
decltype type.
In Microsoft mode, we emit a warning instead of an error.
This fixes a couple of errors when parsing the MSVC 11 RC headers with clang.
llvm-svn: 160613
|
| |
|
|
|
|
| |
way to disable keywords under Microsoft mode.
llvm-svn: 160612
|
| |
|
|
|
|
|
| |
by index. This is useful if the user does not document all arguments, and we
can't find a particular argument by index via :nth-of-type() CSS selector.
llvm-svn: 160595
|
| |
|
|
| |
llvm-svn: 160590
|
| |
|
|
|
|
|
| |
Under AAPCS, long double is the same as double, which means it should be
allowed as part of a homogeneous aggregate.
llvm-svn: 160586
|
| |
|
|
|
|
|
|
|
|
|
| |
HTML fragment.
For testing, c-index-test now has even more output:
* HTML rendering of a comment
* comment AST tree dump in S-expressions like Comment::dump(), but implemented
* with libclang APIs.
llvm-svn: 160577
|
| |
|
|
|
|
|
|
|
|
|
| |
assembly.
By default, we don't emit IR for MS-style inline assembly (see r158833 as to
why). This is strictly for testing purposes and should not be enabled with the
expectation that things will work. This is a temporary flag and will be removed
once MS-style inline assembly is fully supported.
llvm-svn: 160573
|
| |
|
|
|
|
| |
number of formal parameters for a variadic function call.
llvm-svn: 160570
|
| |
|
|
|
|
|
|
|
|
| |
The assertion was wrong in case we have a verbatim block without a closing
command.
Also add tests for closing command name in a verbatim block, since now it can
be empty in such cases.
llvm-svn: 160568
|
| |
|
|
|
|
|
|
|
| |
This time, make sure we don't try to print fixits with newline characters,
since they don't have a valid column width, and they don't look good anyway.
PR13417 (and originally <rdar://problem/11877454>)
llvm-svn: 160561
|
| |
|
|
|
|
| |
rdar://11842763
llvm-svn: 160554
|
| |
|
|
|
|
|
|
| |
of c-functions nested in namespace in method implementations
by turning off its delayed parsing until a proper solution is
figured out. pr13418
llvm-svn: 160552
|
| |
|
|
|
|
| |
paragraph.
llvm-svn: 160550
|
| |
|
|
| |
llvm-svn: 160542
|