aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/DebugInfo/DWARFFormValue.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-04-11 11:36:36 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-04-11 11:36:36 +0000
commitc86fdf12e85215777cfdc1d5074e73b0118fa42f (patch)
treea0dd289b673aec5a15712e9385c60e85ced21daf /llvm/lib/DebugInfo/DWARFFormValue.cpp
parentfd7f924016e3242f055729bfa35438e420412115 (diff)
downloadllvm-c86fdf12e85215777cfdc1d5074e73b0118fa42f.zip
llvm-c86fdf12e85215777cfdc1d5074e73b0118fa42f.tar.gz
llvm-c86fdf12e85215777cfdc1d5074e73b0118fa42f.tar.bz2
Rename the C function to create a SLPVectorizerPass to something sane and expose it in the header file.
llvm-svn: 179272
Diffstat (limited to 'llvm/lib/DebugInfo/DWARFFormValue.cpp')
-rw-r--r--llvm/lib/DebugInfo/DWARFFormValue.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/llvm/lib/DebugInfo/DWARFFormValue.cpp b/llvm/lib/DebugInfo/DWARFFormValue.cpp
index 2e16db9..2876fca 100644
--- a/llvm/lib/DebugInfo/DWARFFormValue.cpp
+++ b/llvm/lib/DebugInfo/DWARFFormValue.cpp
@@ -18,10 +18,11 @@
using namespace llvm;
using namespace dwarf;
-template <uint8_t AddrSize, uint8_t RefAddrSize>
-struct FixedFormSizes {
+namespace {
+template <uint8_t AddrSize, uint8_t RefAddrSize> struct FixedFormSizes {
static const uint8_t sizes[];
};
+}
template <uint8_t AddrSize, uint8_t RefAddrSize>
const uint8_t FixedFormSizes<AddrSize, RefAddrSize>::sizes[] = {