diff options
Diffstat (limited to 'clang/lib/AST/ItaniumMangle.cpp')
-rw-r--r-- | clang/lib/AST/ItaniumMangle.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/AST/ItaniumMangle.cpp b/clang/lib/AST/ItaniumMangle.cpp index 7016ee1d65a..9bce9a0fa3b 100644 --- a/clang/lib/AST/ItaniumMangle.cpp +++ b/clang/lib/AST/ItaniumMangle.cpp @@ -2230,6 +2230,7 @@ void CXXNameMangler::mangleAArch64NeonVectorType(const VectorType *T) { assert(EltType->isBuiltinType() && "Neon vector element not a BuiltinType"); unsigned BitSize = (T->getNumElements() * getASTContext().getTypeSize(EltType)); + (void)BitSize; // Silence warning. assert((BitSize == 64 || BitSize == 128) && "Neon vector type not 64 or 128 bits"); |