]> granicus.if.org Git - llvm/commit
NFC: Make the copies of the demangler byte-for-byte identical
authorErik Pilkington <erik.pilkington@gmail.com>
Thu, 17 Jan 2019 20:37:51 +0000 (20:37 +0000)
committerErik Pilkington <erik.pilkington@gmail.com>
Thu, 17 Jan 2019 20:37:51 +0000 (20:37 +0000)
commitcc6eedfcf341fb40b6c876ea10cf5db81fb2124f
tree1fac9487fe2ca0c729ad8a2c6c4af465beb91296
parent09a1a75e84401c325e5f82cda0f0e0c65fa8e2c2
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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351474 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Demangle/DemangleConfig.h [moved from include/llvm/Demangle/Compiler.h with 54% similarity]
include/llvm/Demangle/ItaniumDemangle.h
include/llvm/Demangle/MicrosoftDemangle.h
include/llvm/Demangle/MicrosoftDemangleNodes.h
include/llvm/Demangle/README.txt [new file with mode: 0644]
include/llvm/Demangle/StringView.h
include/llvm/Demangle/Utility.h
lib/Demangle/MicrosoftDemangle.cpp
lib/Demangle/MicrosoftDemangleNodes.cpp
lib/Support/ItaniumManglingCanonicalizer.cpp