[LLVMDemangle] Move some utility classes to header files.
authorZachary Turner <zturner@google.com>
Mon, 16 Jul 2018 21:24:03 +0000 (21:24 +0000)
committerZachary Turner <zturner@google.com>
Mon, 16 Jul 2018 21:24:03 +0000 (21:24 +0000)
commitfac2da1ba76f9ac0bef4a8963a059d1a928ba787
tree96b0749a0843eb29baa68971d26e0855d09e2a92
parented8c05cc99c3b21ca0667908881df6b10eebc5b5
[LLVMDemangle] Move some utility classes to header files.

In a followup I'm looking to add a Microsoft demangler.  Doing
so needs a lot of the same utility classes and feature test
macros which are already implemented in ItaniumDemangle.cpp.
So move all of these things into header files so that they
can be re-used by a new demangler.

Differential Revision: https://reviews.llvm.org/D49399

llvm-svn: 337217
llvm/lib/Demangle/CMakeLists.txt
llvm/lib/Demangle/Compiler.h [new file with mode: 0644]
llvm/lib/Demangle/ItaniumDemangle.cpp
llvm/lib/Demangle/StringView.h [new file with mode: 0644]
llvm/lib/Demangle/Utility.h [new file with mode: 0644]