| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
overridden via remapping. Thus, when we create a "virtual" file in the
file manager, we still stat() the real file that lives behind it so
that we can provide proper uniquing based on inodes. This helps keep
the file manager much more consistent.
To take advantage of this when reparsing files in libclang, we disable
the use of the stat() cache when reparsing or performing code
completion, since the stat() cache is very likely to be out of date in
this use case.
llvm-svn: 124971
|
| |
|
|
|
|
| |
abi.
llvm-svn: 124834
|
| |
|
|
| |
llvm-svn: 124825
|
| |
|
|
|
|
|
|
| |
the atomic writes option, since the intent is that this option be set for an
entire build, which may have any number of compiler instances writing to the
same output file.
llvm-svn: 124772
|
| |
|
|
|
|
| |
information to a file.
llvm-svn: 124750
|
| |
|
|
|
|
| |
ones outside the predefines buffer (which is what -H does).
llvm-svn: 124749
|
| |
|
|
| |
llvm-svn: 124736
|
| |
|
|
|
|
|
|
| |
callbacks class.
- Aside from being generally cleaner, this also allows -H to work correctly in
modes other than standard preprocessing (e.g., -c, -MM, etc.)
llvm-svn: 124723
|
| |
|
|
|
|
|
| |
the string copying goes through a single place that can have
associated state.
llvm-svn: 124698
|
| |
|
|
| |
llvm-svn: 124684
|
| |
|
|
|
|
|
|
|
|
|
|
| |
BumpPtrAllocator, rather than manually new/delete'ing them. This
optimization also allows us to avoid allocating memory for and copying
constant strings (e.g., "return", "class").
This also required embedding the priority and availability of results
within the code completion string, to avoid extra memory allocation
within libclang.
llvm-svn: 124673
|
| |
|
|
| |
llvm-svn: 124661
|
| |
|
|
|
|
| |
ensue.
llvm-svn: 124613
|
| |
|
|
|
|
| |
automatic behavior (which is undesirable in a multithreaded context).
llvm-svn: 124612
|
| |
|
|
| |
llvm-svn: 124551
|
| |
|
|
|
|
|
| |
TargetInfo::CreateTargetInfo() mangles the target options in a way
that is not idempotent. Fixes <rdar://problem/8807535>.
llvm-svn: 124382
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
invalid PresomedLoc, instead of just silencing it.
FileManager.cpp: Allow virtual files in nonexistent directories.
FileManager.cpp: Close FileDescriptor for virtual files that correspond to actual files.
FileManager.cpp: Enable virtual files to be created even for files that were flagged as NON_EXISTENT_FILE, e.g. by a prior (unsuccessful) addFile().
ASTReader.cpp: Read a PCH even if the original source files cannot be found.
Add a test for reading a PCH of a file that has been removed and diagnostics referencing that file.
llvm-svn: 124374
|
| |
|
|
|
|
|
|
| |
'-analyzer-check-objc-self-init' which by default
is enabled by the driver for '--analyze'.
llvm-svn: 124266
|
| |
|
|
| |
llvm-svn: 124235
|
| |
|
|
| |
llvm-svn: 124227
|
| |
|
|
|
|
| |
thousand other things which were (generally inadvertantly) relying on that.
llvm-svn: 123814
|
| |
|
|
|
|
| |
clang_createTranslationUnitFromSourceFile().
llvm-svn: 123793
|
| |
|
|
| |
llvm-svn: 123723
|
| |
|
|
| |
llvm-svn: 123150
|
| |
|
|
| |
llvm-svn: 122987
|
| |
|
|
|
|
| |
// rdar://8818375
llvm-svn: 122831
|
| |
|
|
| |
llvm-svn: 122552
|
| |
|
|
|
|
|
|
|
|
|
|
| |
to allow us to explicitly control whether or
not Objective-C properties are default synthesized.
Currently this feature only works when using
the -fobjc-non-fragile-abi2 flag (so there is
no functionality change), but we can now turn
off this feature without turning off all the features
coupled with -fobjc-non-fragile-abi2.
llvm-svn: 122519
|
| |
|
|
|
|
|
| |
checker based on using raw (symbolic) byte offsets
from a base region.
llvm-svn: 122469
|
| |
|
|
| |
llvm-svn: 122394
|
| |
|
|
| |
llvm-svn: 122340
|
| |
|
|
| |
llvm-svn: 122339
|
| |
|
|
|
|
| |
Fix PR8832.
llvm-svn: 122311
|
| |
|
|
| |
llvm-svn: 122087
|
| |
|
|
| |
llvm-svn: 121956
|
| |
|
|
|
|
| |
second reparse.
llvm-svn: 121413
|
| |
|
|
| |
llvm-svn: 121378
|
| |
|
|
|
|
| |
BinaryTypeTraitExpr.
llvm-svn: 121298
|
| |
|
|
| |
llvm-svn: 121073
|
| |
|
|
| |
llvm-svn: 120882
|
| |
|
|
| |
llvm-svn: 120881
|
| |
|
|
| |
llvm-svn: 120880
|
| |
|
|
| |
llvm-svn: 120879
|
| |
|
|
| |
llvm-svn: 120878
|
| |
|
|
| |
llvm-svn: 120877
|
| |
|
|
| |
llvm-svn: 120876
|
| |
|
|
| |
llvm-svn: 120875
|
| |
|
|
|
|
|
|
|
|
|
| |
This patch refactors the CompilerInvocation code to introduce a
CompilerInvocation::setLangDefaults function, which can set up a
LangOptions with the defaults for a given language and language
standard. This function is useful for non-command line based Clang
clients which need to set up a CompilerInvocation manually for a
specific language.
llvm-svn: 120874
|
| |
|
|
| |
llvm-svn: 120544
|
| |
|
|
|
|
|
| |
specified a syntactically invalid path, it's better to let the OS
diagnose the problem than to silently skip it.
llvm-svn: 120542
|