diff options
author | Chris Lattner <sabre@nondot.org> | 2009-01-17 08:27:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-01-17 08:27:52 +0000 |
commit | 757169b60f5ee7ee6ec22bd13e0d8d05a4548565 (patch) | |
tree | a7b9d6b8c1e478b909f284f1770084c4cb4b5c2a /clang/lib/Basic/SourceLocation.cpp | |
parent | ab1d4b8abd54eb55ef8e9112abc8f012546b64b6 (diff) | |
download | llvm-757169b60f5ee7ee6ec22bd13e0d8d05a4548565.zip llvm-757169b60f5ee7ee6ec22bd13e0d8d05a4548565.tar.gz llvm-757169b60f5ee7ee6ec22bd13e0d8d05a4548565.tar.bz2 |
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.
llvm-svn: 62425
Diffstat (limited to 'clang/lib/Basic/SourceLocation.cpp')
0 files changed, 0 insertions, 0 deletions