| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
only supporting a single stat cache. The immediate benefit of this
change is that we can now generate a PCH/AST file when including
another PCH file; in the future, the chain of stat caches will likely
be useful with multiple levels of PCH files.
llvm-svn: 84263
|
| |
|
|
| |
llvm-svn: 84240
|
| |
|
|
| |
llvm-svn: 84219
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
1) -fwritable-string does affect the non-utf16 version of cfstrings
just not the utf16 ones.
2) utf16 strings should always be marked constant, as the __TEXT segment
is readonly.
3) The name of the global doesn't matter, remove it from TargetInfo.
4) Trust the asmprinter to drop cstrings into the right section, like llvmgcc does now.
This fixes rdar://7115750
llvm-svn: 84077
|
| |
|
|
|
|
|
|
|
|
| |
what we found when we looked into <blah>", where <blah> is a
DeclContext*. We can now format DeclContext*'s in nice ways, e.g.,
"namespace N", "the global namespace", "'class Foo'".
This is part of PR3990, but we're not quite there yet.
llvm-svn: 84028
|
| |
|
|
|
|
| |
previously we only recognized it on inputs.
llvm-svn: 83939
|
| |
|
|
|
|
|
| |
handle the long size difference for one of the Windows targets." Patch
by John Thompson.
llvm-svn: 83592
|
| |
|
|
| |
llvm-svn: 83582
|
| |
|
|
|
|
|
| |
branch/revision information. Use that information in the driver,
rather than one-off branch/revision computation.
llvm-svn: 83321
|
| |
|
|
| |
llvm-svn: 83319
|
| |
|
|
| |
llvm-svn: 82894
|
| |
|
|
|
|
| |
- Patch by John Thompson!
llvm-svn: 82621
|
| |
|
|
|
|
| |
This implements PR5034 and rdar://6836445.
llvm-svn: 82614
|
| |
|
|
| |
llvm-svn: 82578
|
| |
|
|
|
|
|
|
|
|
|
| |
-code-completion-at=filename:line:column
which performs code completion at the specified location by truncating
the file at that position and enabling code completion. This approach
makes it possible to run multiple tests from a single test file, and
gives a more natural command-line interface.
llvm-svn: 82571
|
| |
|
|
|
|
| |
with zeros. This avoids a GCC warning (PR5000)
llvm-svn: 82194
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
essence, code completion is triggered by a magic "code completion"
token produced by the lexer [*], which the parser recognizes at
certain points in the grammar. The parser then calls into the Action
object with the appropriate CodeCompletionXXX action.
Sema implements the CodeCompletionXXX callbacks by performing minimal
translation, then forwarding them to a CodeCompletionConsumer
subclass, which uses the results of semantic analysis to provide
code-completion results. At present, only a single, "printing" code
completion consumer is available, for regression testing and
debugging. However, the design is meant to permit other
code-completion consumers.
This initial commit contains two code-completion actions: one for
member access, e.g., "x." or "p->", and one for
nested-name-specifiers, e.g., "std::". More code-completion actions
will follow, along with improved gathering of code-completion results
for the various contexts.
[*] In the current -code-completion-dump testing/debugging mode, the
file is truncated at the completion point and EOF is translated into
"code completion".
llvm-svn: 82166
|
| |
|
|
| |
llvm-svn: 82164
|
| |
|
|
|
|
| |
- Based on patch by Shantonu.
llvm-svn: 82147
|
| |
|
|
|
|
|
|
| |
- Patch by Shantonu Sen!
<rdar://problem/6922650> clang doesn't know about ARM registers for inline asm clobber lists
llvm-svn: 82132
|
| |
|
|
| |
llvm-svn: 82009
|
| |
|
|
| |
llvm-svn: 81735
|
| |
|
|
|
|
|
| |
- Change TargetData string to match llvm-gcc.
- Some -target-abi support for 'apcs-gnu', most importantly the alignment of double and long long changes.
llvm-svn: 81732
|
| |
|
|
|
|
| |
thumb-foo-bar as an ARM target.
llvm-svn: 81497
|
| |
|
|
| |
llvm-svn: 81346
|
| |
|
|
| |
llvm-svn: 81079
|
| |
|
|
|
|
| |
- Patch by David Chisnall, with PCH and Darwin support mixed in.
llvm-svn: 80883
|
| |
|
|
|
|
|
|
|
|
|
|
| |
qualified name does not actually refer into a class/class
template/class template partial specialization.
Improve printing of nested-name-specifiers to eliminate redudant
qualifiers. Also, make it possible to output a nested-name-specifier
through a DiagnosticBuilder, although there are relatively few places
that will use this leeway.
llvm-svn: 80056
|
| |
|
|
| |
llvm-svn: 79907
|
| |
|
|
|
|
| |
- Primarily to discourage clients form making decisions based on the string.
llvm-svn: 79901
|
| |
|
|
| |
llvm-svn: 79868
|
| |
|
|
| |
llvm-svn: 79854
|
| |
|
|
| |
llvm-svn: 79824
|
| |
|
|
| |
llvm-svn: 79544
|
| |
|
|
| |
llvm-svn: 79462
|
| |
|
|
|
|
| |
- Several FIXMEs due to non-Twinification of IRBuilder.
llvm-svn: 79455
|
| |
|
|
|
|
| |
- Patch by Yonggang Luo (with some formatting tweaks by Eli and myself).
llvm-svn: 79320
|
| |
|
|
| |
llvm-svn: 79271
|
| |
|
|
| |
llvm-svn: 78824
|
| |
|
|
| |
llvm-svn: 78794
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
1. Passing something that isn't a string used to cause:
"argument to annotate attribute was not a string literal"
make it say "section attribute" instead.
2. Fix the location of the above message to point to the
bad argument instead of the section token.
3. Implement rdar://4341926, by diagnosing invalid section
specifiers in the frontend rather than letting them slip all
the way to the assembler (a QoI win).
An example of #3 is that we used to produce something like this:
/var/folders/n7/n7Yno9ihEm894640nJdSQU+++TI/-Tmp-//ccFPFGtT.s:2:Expected comma after segment-name
/var/folders/n7/n7Yno9ihEm894640nJdSQU+++TI/-Tmp-//ccFPFGtT.s:2:Rest of line ignored. 1st junk character valued 46 (.).
Daniel improved clang to use llvm_report_error, so now we got:
$ clang t.c -c
fatal error: error in backend: Global variable 'x' has an invalid section specifier 'sadf': mach-o section specifier
requires a segment and section separated by a comma.
with no loc info. Now we get:
$ clang t.c -fsyntax-only
t.c:4:30: error: argument to 'section' attribute is not valid for this target: mach-o section specifier requires a segment
and section separated by a comma
int x __attribute__((section("sadf")));
^
which is nice :)
llvm-svn: 78586
|
| |
|
|
| |
llvm-svn: 78092
|
| |
|
|
| |
llvm-svn: 76099
|
| |
|
|
|
|
| |
some target hooks.
llvm-svn: 75895
|
| |
|
|
|
|
| |
an incremental patch
llvm-svn: 75622
|
| |
|
|
| |
llvm-svn: 75492
|
| |
|
|
| |
llvm-svn: 75431
|
| |
|
|
|
|
| |
Patch by Roman Divacky.
llvm-svn: 75003
|
| |
|
|
| |
llvm-svn: 74893
|
| |
|
|
| |
llvm-svn: 74805
|