| commit | cef77824d56ba0b02ab010076b03ebe2be938b40 | [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 | 3c727d6a1cb1d4fd85e362d5fcbf93e0c2460930 [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