commit | 42e00d19b0dac64732eb5449d52a076282fcbf77 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Jan 17 08:27:52 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Jan 17 08:27:52 2009 +0000 |
tree | dd0a813f9434a27631eceae143fe7529ed52b018 | |
parent | f056d92e182cbe4f62c8d14102544dc38066dabc [diff] |
Change the Lexer ctor used to lex _Pragma directives into a static factory method. This lets us clean up the interface and make it more obvious that this method is *really really* _Pragma specific. Note that _Pragma handling uglifies the Lexer in the critical path. It would be very interesting to consider making _Pragma remapping be a new special lexer class of its own. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@62425 91177308-0d34-0410-b5e6-96231b3b80d8