Argyrios Kyrtzidis
7a70d2f11b
For the FileChanged Preprocessor callback, when exiting a file, pass its FileID.
...
llvm-svn: 141681
2011-10-11 17:29:44 +00:00
Chris Lattner
0e62c1cc0b
remove unneeded llvm:: namespace qualifiers on some core types now that LLVM.h imports
...
them into the clang namespace.
llvm-svn: 135852
2011-07-23 10:55:15 +00:00
Sebastian Redl
4e52123d06
Fix -H. It was pretty broken.
...
llvm-svn: 129514
2011-04-14 14:07:45 +00:00
Daniel Dunbar
fe908a805b
Frontend: Change CC_PRINT_HEADERS to not print header depth markers, these don't
...
really make any sense in this environment.
llvm-svn: 128014
2011-03-21 19:37:38 +00:00
Daniel Dunbar
9aa47fcb55
Frontend: Switch -header-include-file output to use unbuffered raw_ostreams with
...
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
2011-02-03 03:45:00 +00:00
Daniel Dunbar
1af1d2751a
Frontend: Add -header-include-file option, for allowing saving header include
...
information to a file.
llvm-svn: 124750
2011-02-02 21:11:31 +00:00
Daniel Dunbar
fb24485727
Frontend: Add support (unused) for showing all "interesting" headers, not just
...
ones outside the predefines buffer (which is what -H does).
llvm-svn: 124749
2011-02-02 21:11:24 +00:00
Daniel Dunbar
27734fdbbf
Frontend: Factor out header include dumping (-H) into its own preprocessor
...
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
2011-02-02 15:41:17 +00:00