clang-format: Use identifier table for keywords in other languages.
authorDaniel Jasper <djasper@google.com>
Tue, 4 Nov 2014 12:41:02 +0000 (12:41 +0000)
committerDaniel Jasper <djasper@google.com>
Tue, 4 Nov 2014 12:41:02 +0000 (12:41 +0000)
commitd0ec0d62d67a89084bd299f5162446b89e6ef072
tree4a1f9acc562cf9fc4e51648e590bdb83811ff629
parentc1f30877e0357a2513fdf4f99a90cfc35be6572e
clang-format: Use identifier table for keywords in other languages.

Slightly easier to write, more efficient and prevents bugs by
misspelling them.

No functional changes intended.

llvm-svn: 221259
clang/lib/Format/ContinuationIndenter.cpp
clang/lib/Format/ContinuationIndenter.h
clang/lib/Format/Format.cpp
clang/lib/Format/FormatToken.h
clang/lib/Format/TokenAnnotator.cpp
clang/lib/Format/TokenAnnotator.h
clang/lib/Format/UnwrappedLineParser.cpp
clang/lib/Format/UnwrappedLineParser.h