[llvm] r265590 - Put quotes around #error string.
James Y Knight via llvm-commits
llvm-commits at lists.llvm.org
Wed Apr 6 12:52:32 PDT 2016
Author: jyknight
Date: Wed Apr 6 14:52:32 2016
New Revision: 265590
URL: http://llvm.org/viewvc/llvm-project?rev=265590&view=rev
Log:
Put quotes around #error string.
GCC reports "missing terminating ' character", even when it's being
skipped by preprocessing.
Modified:
llvm/trunk/lib/Target/AArch64/AArch64RegisterBankInfo.cpp
Modified: llvm/trunk/lib/Target/AArch64/AArch64RegisterBankInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AArch64/AArch64RegisterBankInfo.cpp?rev=265590&r1=265589&r2=265590&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AArch64/AArch64RegisterBankInfo.cpp (original)
+++ llvm/trunk/lib/Target/AArch64/AArch64RegisterBankInfo.cpp Wed Apr 6 14:52:32 2016
@@ -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)
More information about the llvm-commits
mailing list