| Commit message (Collapse) | Author | Age | Files | Lines |
| ... | |
| |
|
|
| |
llvm-svn: 90422
|
| |
|
|
| |
llvm-svn: 90414
|
| |
|
|
| |
llvm-svn: 90413
|
| |
|
|
|
|
| |
propogate and simplify.
llvm-svn: 90379
|
| |
|
|
| |
llvm-svn: 90349
|
| |
|
|
|
|
| |
UseBumpAllocator.
llvm-svn: 90348
|
| |
|
|
| |
llvm-svn: 90334
|
| |
|
|
|
|
|
|
|
|
|
|
| |
file. This is accomplished by introducing the notion of a "virtual"
file into the file manager, which provides a FileEntry* for a named
file whose size and modification time are known but which may not
exist on disk.
Added a cute little test that remaps both a .c file and a .h file it
includes to alternative files.
llvm-svn: 90329
|
| |
|
|
| |
llvm-svn: 90322
|
| |
|
|
|
|
| |
source files.
llvm-svn: 90311
|
| |
|
|
| |
llvm-svn: 90310
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
-remap-file=from;to
which takes the file "from" and transparently replaces its contents
with the contents of the file "to" from the source manager's
perspective. This is the moral equivalent of
cp from saved
cp to from
<call clang>
cp saved from
rm saved
without all of the pesky file copying.
llvm-svn: 90307
|
| |
|
|
|
|
|
|
|
|
| |
files with the contents of an arbitrary memory buffer. Use this new
functionality to drastically clean up the way in which we handle file
truncation for code-completion: all of the truncation/completion logic
is now encapsulated in the preprocessor where it belongs
(<rdar://problem/7434737>).
llvm-svn: 90300
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
(clang/driver) command line arguments (including the source file).
- The arguments are expected to include the source file.
- The idea is that even though this is a somewhat odd API, its the form which
many tools can most easily use (for example, by interposing with the compiler).
Also, switch index-test's -ast-from-source to use this entry point, and provide
a -arg command line argument which can be used to test that the command line
arguments are handled correctly.
llvm-svn: 90288
|
| |
|
|
| |
llvm-svn: 90263
|
| |
|
|
|
|
|
|
| |
command line to the input file.
We passed <built-in> on the way in, so we should pass it again on the way out.
llvm-svn: 90250
|
| |
|
|
|
|
|
| |
Also, add an -ast-from-source option to index-test which allows index-test to
run on source files directly.
llvm-svn: 90223
|
| |
|
|
|
|
| |
for a massive speedup
llvm-svn: 90209
|
| |
|
|
|
|
| |
where it belongs.
llvm-svn: 90198
|
| |
|
|
|
|
| |
many) places to use this instead of using the backend -soft-float and -float-abi= options.
llvm-svn: 90127
|
| |
|
|
|
|
| |
diagnostics to a different diagnostics engine.
llvm-svn: 90125
|
| |
|
|
| |
llvm-svn: 90118
|
| |
|
|
| |
llvm-svn: 90117
|
| |
|
|
|
|
|
|
|
|
| |
stat a file but where mmaping it fails. In this case, we emit an
error like:
t.c:1:10: fatal error: error opening file '../../foo.h'
instead of "cannot find file".
llvm-svn: 90110
|
| |
|
|
| |
llvm-svn: 90091
|
| |
|
|
|
|
|
|
|
|
|
| |
CompilerInstance already contains various objects that are used
throughout the entire run.
Also addresses Daniels review comments in:
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20091123/024508.html
llvm-svn: 90073
|
| |
|
|
|
|
|
| |
function names outside of templates - they'll probably cause some damage there as
they're largely untested.
llvm-svn: 90064
|
| |
|
|
|
|
| |
we then manually pass to the command line library; eventually the latter grossness should be fixed by a real API when creating the target machine.
llvm-svn: 90063
|
| |
|
|
|
|
| |
- This is the last major parsing piece, main FIXMEs remain.
llvm-svn: 90059
|
| |
|
|
|
|
| |
worrying about the lifetime.
llvm-svn: 90052
|
| |
|
|
| |
llvm-svn: 90051
|
| |
|
|
| |
llvm-svn: 90033
|
| |
|
|
| |
llvm-svn: 90031
|
| |
|
|
| |
llvm-svn: 89949
|
| |
|
|
|
|
|
|
|
|
|
| |
(stdout)
this brings the error on
clang -c foo.h -o -
closer to
clang -c foo.h -o /dev/null
llvm-svn: 89948
|
| |
|
|
|
|
|
|
| |
standards into LangStandards.def
- I'd appreciate another pair of eyeballs to double check this.
llvm-svn: 89919
|
| |
|
|
| |
llvm-svn: 89917
|
| |
|
|
| |
llvm-svn: 89916
|
| |
|
|
|
|
| |
This fixes pr5611.
llvm-svn: 89895
|
| |
|
|
|
|
| |
This allows GRTransferFuncs::RegisterChecks() to always be called after all checkers have been registered.
llvm-svn: 89887
|
| |
|
|
|
|
| |
instead of replicating most of its logic (and missing pieces).
llvm-svn: 89886
|
| |
|
|
|
|
| |
by making it a static function within GRExprEngine.cpp.
llvm-svn: 89884
|
| |
|
|
|
|
| |
manually in AnalysisConsumer.cpp.
llvm-svn: 89883
|
| |
|
|
| |
llvm-svn: 89858
|
| |
|
|
| |
llvm-svn: 89856
|
| |
|
|
|
|
| |
The attributes are currently ignored.
llvm-svn: 89837
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
All statements that involve conditions can now hold on to a separate
condition declaration (a VarDecl), and will use a DeclRefExpr
referring to that VarDecl for the condition expression. ForStmts now
have such a VarDecl (I'd missed those in previous commits).
Also, since this change reworks the Action interface for
if/while/switch/for, use FullExprArg for the full expressions in those
expressions, to ensure that we're emitting
Note that we are (still) not generating the right cleanups for
condition variables in for statements. That will be a follow-on
commit.
llvm-svn: 89817
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
cleanups for while loops:
1) Make sure that we destroy the condition variable of a while statement each time through the loop for, e.g.,
while (shared_ptr<WorkInt> p = getWorkItem()) {
// ...
}
2) Make sure that we always enter a new cleanup scope for the body of the while loop, even when there is no compound expression, e.g.,
while (blah)
RAIIObject raii(blah+1);
llvm-svn: 89800
|
| |
|
|
|
|
|
| |
make sure that this variable is destroyed when we exit the switch
statement.
llvm-svn: 89776
|
| |
|
|
|
|
|
|
|
| |
rather than burying it in a CXXConditionDeclExpr (that occassionally
hides behind implicit conversions). Similar changes for
switch, while, and do-while will follow, then the removal of
CXXConditionDeclExpr. This commit is the canary.
llvm-svn: 89717
|