[llvm] r279636 - fix typo 'varaible' in assert
Nico Weber via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 24 09:34:55 PDT 2016
Author: nico
Date: Wed Aug 24 11:34:54 2016
New Revision: 279636
URL: http://llvm.org/viewvc/llvm-project?rev=279636&view=rev
Log:
fix typo 'varaible' in assert
Modified:
llvm/trunk/lib/IR/Verifier.cpp
Modified: llvm/trunk/lib/IR/Verifier.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Verifier.cpp?rev=279636&r1=279635&r2=279636&view=diff
==============================================================================
--- llvm/trunk/lib/IR/Verifier.cpp (original)
+++ llvm/trunk/lib/IR/Verifier.cpp Wed Aug 24 11:34:54 2016
@@ -1119,7 +1119,7 @@ void Verifier::visitDIGlobalVariable(con
if (auto *V = N.getRawVariable()) {
AssertDI(isa<ConstantAsMetadata>(V) &&
!isa<Function>(cast<ConstantAsMetadata>(V)->getValue()),
- "invalid global varaible ref", &N, V);
+ "invalid global variable ref", &N, V);
visitConstantExprsRecursively(cast<ConstantAsMetadata>(V)->getValue());
}
if (auto *Member = N.getRawStaticDataMemberDeclaration()) {
More information about the llvm-commits
mailing list