clang-format: NFC. Add a function to test whether an annotated line
authorDaniel Jasper <djasper@google.com>
Wed, 17 Jun 2015 09:43:56 +0000 (09:43 +0000)
committerDaniel Jasper <djasper@google.com>
Wed, 17 Jun 2015 09:43:56 +0000 (09:43 +0000)
commite285b8dd2e0d21721d6ddcc1dfa5cffce506f773
tree897bdee7e5e680ed57061687dc0e0a5a4db25f61
parentafa4ea71217a3564e4cb1a2439c6dd5bb3bfa863
clang-format: NFC. Add a function to test whether an annotated line
starts with a given sequence of tokens. Only the one-token version is
used yet, but other usages are coming up momentarily.

llvm-svn: 239892
clang/lib/Format/TokenAnnotator.cpp
clang/lib/Format/TokenAnnotator.h
clang/lib/Format/UnwrappedLineFormatter.cpp