| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
|
|
| |
default.
llvm-svn: 165338
|
| |
|
|
|
|
| |
importedASTFile indexing callback.
llvm-svn: 165281
|
| |
|
|
|
|
|
|
|
|
|
| |
clang_Cursor_getModule
clang_Module_getParent
clang_Module_getName
clang_Module_getFullName
clang_Module_getNumTopLevelHeaders
clang_Module_getTopLevelHeader
llvm-svn: 165280
|
| |
|
|
|
|
| |
import declaration.
llvm-svn: 165277
|
| |
|
|
|
|
| |
file name if building Apple-style.
llvm-svn: 165184
|
| |
|
|
| |
llvm-svn: 165162
|
| |
|
|
| |
llvm-svn: 165161
|
| |
|
|
|
|
| |
imports via ImportDecls.
llvm-svn: 165160
|
| |
|
|
| |
llvm-svn: 165119
|
| |
|
|
|
|
|
|
|
| |
http://clang.llvm.org/docs/ClangTools.html, this adds -fixit option to
clang-check. Thus, clang-check can become a general-purpose tool to run
clang capitalizing on the info stored in a compilation database.
Review: http://llvm-reviews.chandlerc.com/D51
llvm-svn: 165110
|
| |
|
|
|
|
| |
regex for version tuples.
llvm-svn: 165104
|
| |
|
|
|
|
|
|
| |
can't have the logic here to add in the 'tools/{driver,libclang}' directories,
because they will be added in for ALL Makefiles which #include the top-level
one. Place the logic into the 'tools' Makefile.
llvm-svn: 165103
|
| |
|
|
| |
llvm-svn: 165083
|
| |
|
|
|
|
| |
attribute going iinto XML document.
llvm-svn: 165066
|
| |
|
|
|
|
| |
declarations of the current primary module.
llvm-svn: 165046
|
| |
|
|
|
|
| |
to XML output. // rdar://12378879
llvm-svn: 165039
|
| |
|
|
|
|
| |
entities of the current primary module.
llvm-svn: 165023
|
| |
|
|
|
|
| |
resulted in an automatic module import.
llvm-svn: 165022
|
| |
|
|
|
|
| |
make sure that it gets enabled for when a module needs to be created.
llvm-svn: 165021
|
| |
|
|
|
|
| |
info about imported modules.
llvm-svn: 165020
|
| |
|
|
|
|
| |
care of comments by Dimitri and Doug.
llvm-svn: 164957
|
| |
|
|
| |
llvm-svn: 164915
|
| |
|
|
|
|
|
| |
use it to suggest appropriate macro for __attribute__((deprecated)) in
-Wdocumentation-deprecated-sync.
llvm-svn: 164892
|
| |
|
|
|
|
|
| |
an inclusion directive was automatically turned into a module import, and
PPCallbacks::moduleImport() for an explicit module import.
llvm-svn: 164874
|
| |
|
|
|
|
|
| |
(I still need to add a test once I figure it out).
Reviewed off-line by Doug. // rdar://12378879
llvm-svn: 164861
|
| |
|
|
|
|
|
|
|
|
| |
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20120917/064551.html
have PPCallbacks::InclusionDirective pass the character range for the filename quotes or brackets.
rdar://11113134 & http://llvm.org/PR13880
llvm-svn: 164743
|
| |
|
|
|
|
| |
<rdar://problem/11202465>
llvm-svn: 164739
|
| |
|
|
| |
llvm-svn: 164713
|
| |
|
|
|
|
| |
xcode-select.
llvm-svn: 164712
|
| |
|
|
|
|
| |
This is to reduce dependency to cursors for the code-completion results.
llvm-svn: 164705
|
| |
|
|
|
|
| |
Removes a dependency of ASTUnit to clang-c/Index.h.
llvm-svn: 164704
|
| |
|
|
|
|
|
|
|
|
|
|
| |
enough information so we can mangle them correctly in cases involving
dependent parameter types. (This specifically impacts cases involving
null pointers and cases involving parameters of reference type.)
Fix the mangler to use this information instead of trying to scavenge
it out of the parameter declaration.
<rdar://problem/12296776>.
llvm-svn: 164656
|
| |
|
|
| |
llvm-svn: 164626
|
| |
|
|
|
|
| |
Otherwise clang can't analyze code that relies on features provided by libc++.
llvm-svn: 164262
|
| |
|
|
| |
llvm-svn: 164133
|
| |
|
|
| |
llvm-svn: 163983
|
| |
|
|
|
|
|
| |
It's not clear if this is working yet on the buildbot. Reverting until we have
time to investigate.
llvm-svn: 163963
|
| |
|
|
|
|
| |
of a build without needing to use ccc-analyzer.
llvm-svn: 163927
|
| |
|
|
|
|
| |
We need the clang executable to print the list of available checkers.
llvm-svn: 163925
|
| |
|
|
|
|
|
| |
parameter packs where the reference is not being expanded but the pack has
been. Previously, Clang would segfault in such cases.
llvm-svn: 163672
|
| |
|
|
|
|
| |
questionable elements to the patch.
llvm-svn: 163609
|
| |
|
|
|
|
|
| |
c89, c99, and so on. No change to the default dialect when invoked as clang /
clang++.
llvm-svn: 163605
|
| |
|
|
|
|
| |
rdar://12257073
llvm-svn: 163563
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Now we have a list of all commands. This is a good thing in itself, but it
also enables us to easily implement typo correction for command names.
With this change we have objects that contain information about each command,
so it makes sense to resolve command name just once during lexing (currently we
store command names as strings and do a linear search every time some property
value is needed). Thus comment token and AST nodes were changed to contain a
command ID -- index into a tables of builtin and registered commands. Unknown
commands are registered during parsing and thus are also uniformly assigned an
ID. Using an ID instead of a StringRef is also a nice memory optimization
since ID is a small integer that fits into a common bitfield in Comment class.
This change implies that to get any information about a command (even a command
name) we need a CommandTraits object to resolve the command ID to CommandInfo*.
Currently a fresh temporary CommandTraits object is created whenever it is
needed since it does not have any state. But with this change it has state --
new commands can be registered, so a CommandTraits object was added to
ASTContext.
Also, in libclang CXComment has to be expanded to include a CXTranslationUnit
so that all functions working on comment AST nodes can get a CommandTraits
object. This breaks binary compatibility of CXComment APIs.
Now clang_FullComment_getAsXML(CXTranslationUnit TU, CXComment CXC) doesn't
need TU parameter anymore, so it was removed. This is a source-incompatible
change for this C API.
llvm-svn: 163540
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
A better solution to http://llvm.org/bugs/show_bug.cgi?id=13777
Named namespace + more unique name to make ODR violations unlikely.
Reviewers: chandlerc, doug.gregor, klimek
Reviewed By: doug.gregor
CC: cfe-commits
Differential Revision: http://llvm-reviews.chandlerc.com/D38
llvm-svn: 163513
|
| |
|
|
| |
llvm-svn: 163429
|
| |
|
|
| |
llvm-svn: 163149
|
| |
|
|
| |
llvm-svn: 163147
|
| |
|
|
| |
llvm-svn: 163099
|
| |
|
|
|
|
| |
Also a minor fix to __except printing in StmtPrinter.cpp. Thanks to Aaron Ballman for review.
llvm-svn: 163083
|