]> granicus.if.org Git - clang/commit
The second step in the token refactoring.
authorManuel Klimek <klimek@google.com>
Wed, 29 May 2013 14:47:47 +0000 (14:47 +0000)
committerManuel Klimek <klimek@google.com>
Wed, 29 May 2013 14:47:47 +0000 (14:47 +0000)
commitb398701e4cbb9a55d90a60e3f4f4bc577446d098
tree34362129ccfdd485f25572772473c4acb54e66c3
parentc76d59d8ff564f918833c97caede7dce2d8cfe60
The second step in the token refactoring.

Gets rid of AnnotatedToken, putting everything into FormatToken.
FormatTokens are created once, and only referenced by pointer.  This
enables multiple future features, like having tokens shared between
multiple UnwrappedLines (while there's still work to do to fully enable
that).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182859 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Format/Format.cpp
lib/Format/TokenAnnotator.cpp
lib/Format/TokenAnnotator.h
lib/Format/UnwrappedLineParser.h
lib/Format/WhitespaceManager.cpp
lib/Format/WhitespaceManager.h