]> granicus.if.org Git - clang/commit
Move token length calculation out of the diagnostics machinery into
authorChris Lattner <sabre@nondot.org>
Wed, 17 Oct 2007 21:18:47 +0000 (21:18 +0000)
committerChris Lattner <sabre@nondot.org>
Wed, 17 Oct 2007 21:18:47 +0000 (21:18 +0000)
commit9a6119437672f42be5f50c3fe89fe843b1bfa5b5
tree21e478f40b3970886d586a1fb94bbf89c022e7e2
parent2b65a9ddab80e3951ae0c8444c27be0e8fa05d86
Move token length calculation out of the diagnostics machinery into
the lexer, where it can be shared.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@43090 91177308-0d34-0410-b5e6-96231b3b80d8
Driver/TextDiagnosticPrinter.cpp
Driver/TextDiagnosticPrinter.h
Lex/Lexer.cpp
include/clang/Lex/Lexer.h