commit | f033f1da4a34f8df6e95e9929dc04ff54bb8fb01 | [log] [tgz] |
---|---|---|
author | Douglas Gregor <dgregor@apple.com> | Tue Jul 20 20:18:03 2010 +0000 |
committer | Douglas Gregor <dgregor@apple.com> | Tue Jul 20 20:18:03 2010 +0000 |
tree | 6085cfe3a898ad4e4ae54d33b2ea9ab0cae8beb3 | |
parent | 4751a53c5e5fed4bf2271e29cae7411c93a77df7 [diff] |
Introduce a new lexer function to compute the "preamble" of a file, which is the part of the file that contains all of the initial comments, includes, and preprocessor directives that occur before any of the actual code. Added a new -print-preamble cc1 action that is only used for testing. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@108913 91177308-0d34-0410-b5e6-96231b3b80d8