diff options
author | Erik Pilkington <erik.pilkington@gmail.com> | 2019-01-17 20:37:51 +0000 |
---|---|---|
committer | Erik Pilkington <erik.pilkington@gmail.com> | 2019-01-17 20:37:51 +0000 |
commit | 5094e5ef8bd40b30efc22825b7413de180114946 (patch) | |
tree | 28a10b39c2f2daf3c844c58b793ec78eef3fdc57 /llvm/lib/Support | |
parent | b60de17b5106cd28614baafbfdec2bae9a706fc0 (diff) | |
download | bcm5719-llvm-5094e5ef8bd40b30efc22825b7413de180114946.tar.gz bcm5719-llvm-5094e5ef8bd40b30efc22825b7413de180114946.zip |
NFC: Make the copies of the demangler byte-for-byte identical
With this patch, the copies of the files ItaniumDemangle.h,
StringView.h, and Utility.h are kept byte-for-byte in sync between
libcxxabi and llvm. All differences (namespaces, fallthrough, and
unreachable macros) are defined in each copies' DemanglerConfig.h.
This patch also adds a script to copy changes from libcxxabi
(cp-to-llvm.sh), and a README.txt explaining the situation.
Differential revision: https://reviews.llvm.org/D53538
llvm-svn: 351474
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r-- | llvm/lib/Support/ItaniumManglingCanonicalizer.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/Support/ItaniumManglingCanonicalizer.cpp b/llvm/lib/Support/ItaniumManglingCanonicalizer.cpp index e55dcd76180..24e600a5c46 100644 --- a/llvm/lib/Support/ItaniumManglingCanonicalizer.cpp +++ b/llvm/lib/Support/ItaniumManglingCanonicalizer.cpp @@ -22,6 +22,7 @@ using namespace llvm; using llvm::itanium_demangle::ForwardTemplateReference; using llvm::itanium_demangle::Node; using llvm::itanium_demangle::NodeKind; +using llvm::itanium_demangle::StringView; namespace { struct FoldingSetNodeIDBuilder { |