Put quotes around #error string.
authorJames Y Knight <jyknight@google.com>
Wed, 6 Apr 2016 19:52:32 +0000 (19:52 +0000)
committerJames Y Knight <jyknight@google.com>
Wed, 6 Apr 2016 19:52:32 +0000 (19:52 +0000)
GCC reports "missing terminating ' character", even when it's being
skipped by preprocessing.

llvm-svn: 265590

llvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp

index 83dccda..6adfc2a 100644 (file)
@@ -21,7 +21,7 @@
 using namespace llvm;
 
 #ifndef LLVM_BUILD_GLOBAL_ISEL
-#error You shouldn't build this
+#error "You shouldn't build this"
 #endif
 
 AArch64RegisterBankInfo::AArch64RegisterBankInfo(const TargetRegisterInfo &TRI)