Revert "[clang-format] Remove the dependency on frontend"
authorVlad Tsyrklevich <vtsyrklevich@google.com>
Tue, 29 Oct 2019 17:20:38 +0000 (10:20 -0700)
committerVlad Tsyrklevich <vtsyrklevich@google.com>
Tue, 29 Oct 2019 17:48:03 +0000 (10:48 -0700)
commitefed314118c7c287a71b8a8d67953a98d8a718d5
treebb8bc4e8ce3d01eb996eb0cb1eed4b3b2a5fb83c
parent1e9de0215f0488bae6c2a7cc0c9c4324d981ad30
Revert "[clang-format] Remove the dependency on frontend"

This reverts commit ec66603ac7ea655be5c2c5f508c5bf0d5eaeb65b. It was
causing ubsan failures like the following on the ubsan bot:
llvm/lib/Support/SourceMgr.cpp:440:48: runtime error: pointer index expression with base 0x000000000000 overflowed to 0xfffffffffffffffa
clang/tools/clang-format/CMakeLists.txt
clang/tools/clang-format/ClangFormat.cpp