| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
llvm-svn: 178529
|
|
|
|
|
|
|
|
| |
Required making a handful of changes to the table generator. Also adds
an unspecified inheritance attribute. This opens the path for us to
apply these attributes to C++ records implicitly.
llvm-svn: 178054
|
|
|
|
|
|
| |
double free, and use-after-free problems of memory managed by new/delete.
llvm-svn: 177849
|
|
|
|
|
|
|
|
| |
This allows us to compare two direct invocations of the analyzer on a
single source file without having to wrap the output plists in their
own directories.
llvm-svn: 177804
|
|
|
|
|
|
| |
improvements per Dmtiri's comments. // rdar://12379114
llvm-svn: 176739
|
|
|
|
|
|
|
|
| |
commands; top level tags such as @interface and
their 2nd level tags such as @coclass, etc.
// rdar://12379114
llvm-svn: 176667
|
|
|
|
|
|
|
| |
an @function comment is not followed by a function decl.
// rdar://13094352
llvm-svn: 176468
|
|
|
|
| |
llvm-svn: 175701
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change introduces a 'kind' attribute for the <Para> tag, that captures the
kind of the parent block command.
For example:
\todo Meow.
used to be just <Para>Meow.</Para>, but now it is
<Para kind="todo">Meow.</Para>
llvm-svn: 174216
|
|
|
|
|
|
|
|
|
| |
Remove "IsMSDeclspec" argument from Align attribute since the arguments in Attr.td should
only model those appear in source code. Introduce attribute Accessor, and teach TableGen
to generate syntax kind accessors for Align attribute, and use those accessors to decide
if an alignment attribute is a declspec attribute.
llvm-svn: 174133
|
|
|
|
|
|
|
|
| |
\headerfile command and representing it in an xml
document. Patch reviewed by Dmitri Gribenko.
// rdar://12397511
llvm-svn: 174109
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Indents were given the color blue when outputting with color.
AST dumping now looks like this:
Node
|-Node
| `-Node
`-Node
`-Node
Compared to the previous:
(Node
(Node
(Node))
(Node
(Node)))
llvm-svn: 174022
|
|
|
|
|
|
| |
file contents being autogenerated
llvm-svn: 173979
|
|
|
|
|
|
|
|
|
| |
This reimplements r173850 with a better approach:
(1) use a TableGen-generated matcher instead of doing a linear search;
(2) avoid allocations for new strings by converting code points to string
iterals with TableGen.
llvm-svn: 173931
|
|
|
|
|
|
| |
instantiation.
llvm-svn: 173768
|
|
|
|
|
|
|
|
|
| |
as a keyword. Rationalize existing attributes to use it as appropriate, and to
not lie about some __declspec attributes being GNU attributes. In passing,
remove a gross hack which was discarding attributes which we could handle. This
results in us actually respecting the __pascal keyword again.
llvm-svn: 173746
|
|
|
|
| |
llvm-svn: 173597
|
|
|
|
|
|
|
| |
- We are long past the days of getting clang to fail in mass on swaths of code,
fortunately.
llvm-svn: 173523
|
|
|
|
| |
llvm-svn: 173491
|
|
|
|
| |
llvm-svn: 173490
|
|
|
|
|
|
|
|
| |
SATestBuild expects to compare output directories for each invocation of
scan-build that it runs, but scan-build clears out empty directories by
default. We were coincidentally not getting that behavior until r173294.
llvm-svn: 173383
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GNU, C++11, MS Declspec) instead of hardcoded GNU syntax.
Introduce a spelling index to Attr class, which is an index into the attribute spelling list of an attribute defined in Attr.td.
This index will determine the actual spelling used by an attribute, as it incorporates both the syntax and naming of the attribute.
When constructing an attribute AST node, the spelling index is computed based on attribute kind, scope (if it's a C++11 attribute), and
name, then passed to Attr that will use the index to print itself.
Thanks to Richard Smith for the idea and review.
llvm-svn: 173358
|
|
|
|
|
|
|
|
|
| |
FIXME: It could be removed if;
- check-all included llvm/valgrind/supp, too.
- clang-vg didn't use "check-all".
llvm-svn: 172982
|
|
|
|
|
|
| |
parsing diff output.
llvm-svn: 172420
|
|
|
|
|
|
| |
more than a minute.
llvm-svn: 172330
|
|
|
|
|
|
| |
brought into 'clang' namespace by clang/Basic/LLVM.h
llvm-svn: 172323
|
|
|
|
|
|
|
|
|
|
|
| |
Not only is this inefficient for TableGen, it's annoying for maintenance
when renaming warning flags (unusual) or adding those flags to a group
(more likely).
This uses the new fix-it infrastructure for LLVM's SourceMgr/SMDiagnostic,
as well as a few changes to TableGen to track more source information.
llvm-svn: 172087
|
|
|
|
|
|
|
|
|
| |
the value.
Some lldb changes made lldb.frame not set until a script is invoked, which made the
formatters not working after a restart.
llvm-svn: 172017
|
|
|
|
|
|
| |
tools/clang/include/clang/AST/AttrDump.inc
llvm-svn: 171768
|
|
|
|
|
|
|
|
| |
http://llvm-reviews.chandlerc.com/D234
Patch by Philip Craig!
llvm-svn: 171760
|
|
|
|
| |
llvm-svn: 169245
|
|
|
|
|
|
|
|
| |
Before, SATestBuild unilaterally added '-j<n>' to every project built with
'make'. Now, we check and see if there's a -j option already specified, which
allows a project to explicitly be marked '-j1'.
llvm-svn: 168603
|
|
|
|
|
|
|
|
| |
This has been broken for a while, but the branch was never being taken.
(We were trying to do 'str + floatVal'; now we do 'str % intVal' and use
the '%d' format.)
llvm-svn: 168174
|
|
|
|
| |
llvm-svn: 168117
|
|
|
|
|
|
| |
report)
llvm-svn: 168105
|
|
|
|
| |
llvm-svn: 168099
|
|
|
|
|
|
| |
"<invalid loc>" for summary.
llvm-svn: 168087
|
|
|
|
|
|
|
|
|
|
|
| |
not ReadExpr().
Also add a test case making sure the thread safety attributes work as expected
when they come from a PCH.
Fixes rdar://12584141 & http://llvm.org/PR13982
llvm-svn: 168017
|
|
|
|
| |
llvm-svn: 168003
|
|
|
|
|
|
|
|
| |
it is
local or loaded.
llvm-svn: 168002
|
|
|
|
|
|
| |
Approved by Chris Lattner.
llvm-svn: 167983
|
|
|
|
| |
llvm-svn: 167981
|
|
|
|
| |
llvm-svn: 167641
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When installed, instead of getting this:
(lldb) p Tok.Loc
(clang::SourceLocation) $0 = {
(unsigned int) ID = 123582
}
you'll get:
(lldb) p Tok.Loc
(clang::SourceLocation) $4 = "/usr/include/i386/_types.h:37:1" (offset: 123582, file)
This depends on r167629.
llvm-svn: 167640
|
|
|
|
| |
llvm-svn: 167317
|
|
|
|
| |
llvm-svn: 166713
|
|
|
|
|
|
| |
Add locations in a number of places, where they are available for free.
llvm-svn: 166691
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Each option has a set of prefixes. When matching an argument such as
-funroll-loops. First the leading - is removed as it is a prefix. Then
a lower_bound search for "funroll-loops" is done against the option table by
option name. From there each option prefix + option name combination is tested
against the argument.
This allows us to support Microsoft style options where both / and - are valid
prefixes. It also simplifies the cases we already have where options come in
both - and -- forms. Almost every option for gnu-ld happens to have this form.
llvm-svn: 166444
|
|
|
|
|
|
| |
clang_version, fix the compare routine.
llvm-svn: 166129
|
|
|
|
| |
llvm-svn: 166048
|