[compiler-rt] r291639 - Follow-up for r291277: Add a return to silence GCC's "control reaches end of non-void function" warning.
Kuba Mracek via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 10 17:12:53 PST 2017
Author: kuba.brecka
Date: Tue Jan 10 19:12:53 2017
New Revision: 291639
URL: http://llvm.org/viewvc/llvm-project?rev=291639&view=rev
Log:
Follow-up for r291277: Add a return to silence GCC's "control reaches end of non-void function" warning.
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h?rev=291639&r1=291638&r2=291639&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_common.h Tue Jan 10 19:12:53 2017
@@ -690,6 +690,7 @@ inline const char *ModuleArchToString(Mo
return "arm64";
}
CHECK(0 && "Invalid module arch");
+ return "";
}
const uptr kModuleUUIDSize = 16;
More information about the llvm-commits
mailing list