| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
No need to abuse default arguments.
llvm-svn: 160684
|
|
|
|
|
|
| |
[in]), parameter name and description paragraph.
llvm-svn: 160682
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
remove one of the two variable-length lookahead buffers. Now retokenizer will
ask for more tokens when it needs them.
llvm-svn: 160680
|
|
|
|
|
|
| |
an implementation detail of the parser.
llvm-svn: 160679
|
|
|
|
|
|
| |
reverse) order
llvm-svn: 160675
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
as per Chandler's request:
- introduces a new matcher base type BindableMatcher that
provides the bind() call
- makes all dynamic-cast matcher creation functions return
BindableMatchers; the special case about dynamic-cast
matchers is that the node they match on and the node
their child matchers match on are the same node, just
casted to a different type; thus, there is no ambiguity
on what bind() matches on; additionally, those are the
matchers that we name with nouns in the matcher language,
so it's easy for users to intuitively know which matchers
are bindable
To make this change possible, we got rid of a non-orthogonal
implementation of thisPointerType, which had an implicit
dynamic-cast matcher from CallExpr to CXXMemberCallExpr; as
alternative, we now provide a memberCall dynamic-cast matcher
and thisPointerType is a predicate on CXXMemberCallExpr.
Last, the ArgumentAdaptingMatcher is actually not required
for the implementation of makeDynCastAllOfComposite - this
simplification makes it more obvious where the bind() call
can be used based on the matcher creation function types.
llvm-svn: 160673
|
|
|
|
|
|
| |
microsoft)
llvm-svn: 160667
|
|
|
|
| |
llvm-svn: 160663
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 160658
|
|
|
|
| |
llvm-svn: 160657
|
|
|
|
| |
llvm-svn: 160652
|
|
|
|
| |
llvm-svn: 160649
|
|
|
|
| |
llvm-svn: 160648
|
|
|
|
| |
llvm-svn: 160647
|
|
|
|
|
|
| |
has a trailing return type.
llvm-svn: 160646
|
|
|
|
|
|
| |
APSInt::isSameValue() when comparing different sized APSInt's.
llvm-svn: 160641
|
|
|
|
| |
llvm-svn: 160640
|
|
|
|
|
|
|
| |
when a \param command does not have a parameter name, just return an empty
string instead.
llvm-svn: 160638
|
|
|
|
|
|
|
|
| |
Make handler functions for thread safety attributes consistent with other attributes handler functions
by removing the bool parameter from some of the thread safety attributes handler functions and extracting
common checks out of different handler functions.
llvm-svn: 160635
|
|
|
|
| |
llvm-svn: 160634
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 160600
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
clang's -Wunused-private-field.
llvm-svn: 160584
|
|
|
|
| |
llvm-svn: 160582
|
|
|
|
| |
llvm-svn: 160581
|
|
|
|
| |
llvm-svn: 160580
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 160574
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
| |
The CFG creates dummy DeclStmts with one Decl per statement, and it has
to do so from last to first in order to build the graph correctly.
llvm-svn: 160560
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 160551
|