|  | Commit message (Collapse) | Author | Age | Files | Lines | 
|---|
| ... |  | 
| | 
| 
| 
| | llvm-svn: 105759 | 
| | 
| 
| 
| 
| 
| | - These inputs follow an abbreviated execution path, but are still worth handling by FrontendAction so they reuse all the other clang -cc1 features.
llvm-svn: 105582 | 
| | 
| 
| 
| | llvm-svn: 105577 | 
| | 
| 
| 
| 
| 
| | argument to BackendConsumer.
llvm-svn: 105574 | 
| | 
| 
| 
| 
| 
| | instructions when using -integrated-as.
llvm-svn: 104807 | 
| | 
| 
| 
| 
| 
| | statements }) in the code-completion results if explicitly requested.
llvm-svn: 104637 | 
| | 
| 
| 
| 
| 
| | .s printer or .o writer.
llvm-svn: 104623 | 
| | 
| 
| 
| | llvm-svn: 104237 | 
| | 
| 
| 
| 
| 
| | number of times the analyzer will go through a loop.
llvm-svn: 104007 | 
| | 
| 
| 
| | llvm-svn: 103258 | 
| | 
| 
| 
| 
| 
| 
| | flag now, and can be used with other analyses. Only turned it on for C++ 
methods for now.
llvm-svn: 103160 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | over choice of:
t.c:3:11: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat]
t.c:3:11: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat,1]
t.c:3:11: warning: conversion specifies type 'char *' but the argument has type 'int' [-Wformat,Format String]
dox to come.
llvm-svn: 103056 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | printed in a diagnostic, similar to the limit we already have on the
depth of the template instantiation backtrace. The macro instantiation
backtrace is limited to 10 "instantiated from:" diagnostics; when it's
longer than that, we'll show the first half, then say how many were
suppressed, then show the second half. The limit can be changed with
-fmacro-instantiation-limit=N, and turned off with N=0.
This eliminates a lot of note spew with libraries making use of the
Boost.Preprocess library.
llvm-svn: 103014 | 
| | 
| 
| 
| | llvm-svn: 102847 | 
| | 
| 
| 
| 
| 
| | instead of NDEBUG.
llvm-svn: 102622 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| | - Replace -cc1 level -fobjc-legacy-dispatch with -fobjc-dispatch-method={legacy,non-legacy,mixed}.
 - Lift "mixed" vs "non-mixed" policy choice up to driver level, instead of being buried in CGObjCMac.cpp.
 - No intended functionality change.
llvm-svn: 102255 | 
| | 
| 
| 
| 
| 
| | files with the additional suffix in the middle.
llvm-svn: 102230 | 
| | 
| 
| 
| | llvm-svn: 102112 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | we will print with each error that occurs during template
instantiation. When the backtrace is longer than that, we will print
N/2 of the innermost backtrace entries and N/2 of the outermost
backtrace entries, then skip the middle entries with a note such as:
  note: suppressed 2 template instantiation contexts; use
  -ftemplate-backtrace-limit=N to change the number of template
  instantiation entries shown
This should eliminate some excessively long backtraces that aren't
providing any value.
llvm-svn: 101882 | 
| | 
| 
| 
| 
| 
| 
| 
| | implemented precisely the same as GCC, but the distinction GCC makes isn't
useful to represent. This allows parsing code which uses GCC-specific keywords
('asm', etc.) without parsing in a fully GNU mode.
llvm-svn: 101667 | 
| | 
| 
| 
| | llvm-svn: 101666 | 
| | 
| 
| 
| | llvm-svn: 101370 | 
| | 
| 
| 
| 
| 
| 
| 
| | option parser.
 - Note that this is a behavior change, previously -mllvm at the driver level forwarded to clang -cc1. The driver does a little magic to make sure that '-mllvm -disable-llvm-optzns' works correctly, but other users will need to be updated to use -Xclang.
llvm-svn: 101354 | 
| | 
| 
| 
| | llvm-svn: 101215 | 
| | 
| 
| 
| | llvm-svn: 101120 | 
| | 
| 
| 
| 
| 
| | patch by Sylvere Teissier!
llvm-svn: 101108 | 
| | 
| 
| 
| 
| 
| | behaves like aa flag.
llvm-svn: 100943 | 
| | 
| 
| 
| 
| 
| 
| 
| | Remove -faccess-control from -cc1; add -fno-access-control.
Make the driver pass -fno-access-control by default.
Update a bunch of tests to be correct under access control.
llvm-svn: 100880 | 
| | 
| 
| 
| 
| 
| | -dump-record-layouts a bit that Sema honors.
llvm-svn: 100747 | 
| | 
| 
| 
| | llvm-svn: 100708 | 
| | 
| 
| 
| | llvm-svn: 100687 | 
| | 
| 
| 
| | llvm-svn: 99417 | 
| | 
| 
| 
| 
| 
| 
| 
| | - So much typing, so little gain...
Also, rename the __cxx_global_initialization function just to match llvm-gcc.
llvm-svn: 99039 | 
| | 
| 
| 
| 
| 
| 
| 
| | actual action.
 - This is easier to use, and more reliable for timing the thing this was
   actually meant to be useful for.
llvm-svn: 98978 | 
| | 
| 
| 
| 
| 
| | tie its creation to a CC1 flag -detailed-preprocessing-record.
llvm-svn: 98963 | 
| | 
| 
| 
| | llvm-svn: 98541 | 
| | 
| 
| 
| 
| 
| | command-line option which defaults off.
llvm-svn: 96649 | 
| | 
| 
| 
| 
| 
| 
| | to the driver, and support it in CodeGenOptsToArgs().  Note that this changes
the default behavior of clang -cc1 to always run the verifier.
llvm-svn: 96077 | 
| | 
| 
| 
| 
| 
| 
| | disabled in NDEBUG builds).  The option applies only to -cc1 invocations and is:
  -disable_llvm_verifier
llvm-svn: 96046 | 
| | 
| 
| 
| 
| 
| 
| 
| | Right now, it's off by default but can be tested by passing -fdump-vtable-layouts to clang -cc1. This option will cause all vtables that will normally be emitted as part of codegen to also be dumped using the new layout code.
I've also added a very simple new vtable layout test case.
llvm-svn: 95865 | 
| | 
| 
| 
| | llvm-svn: 95785 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| | This is a non-fragile-abi feature only. Since it
breaks existing code, it is currently placed under
-fobjc-nonfragile-abi2 option for test purposes only
until further notice. WIP.
llvm-svn: 95685 | 
| | 
| 
| 
| 
| 
| 
| | context with the AST importer. WIP, still useless but at least it has
a test.
llvm-svn: 95683 | 
| | 
| 
| 
| 
| 
| | Daniel, I'd appreciate a review of the driver/cc1 parts.
llvm-svn: 95508 | 
| | 
| 
| 
| | llvm-svn: 95182 | 
| | 
| 
| 
| | llvm-svn: 95004 | 
| | 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| 
| | so that CIndex can report diagnostics through the normal mechanisms
even when executing Clang in a separate process. This applies both
when performing code completion and when using ASTs as an intermediary
for clang_createTranslationUnitFromSourceFile().
The serialized format is not perfect at the moment, because it does
not encapsulate macro-instantiation information. Instead, it maps all
source locations back to the instantiation location. However, it does
maintain source-range and fix-it information. To get perfect fidelity
from the serialized format would require serializing a large chunk of
the source manager; at present, it isn't clear if this code will live
long enough for that to matter.
llvm-svn: 94740 | 
| | 
| 
| 
| | llvm-svn: 93288 | 
| | 
| 
| 
| | llvm-svn: 93078 | 
| | 
| 
| 
| 
| 
| | targethook, which is no longer being used. This fixes PR5971.
llvm-svn: 92987 |