[llvm] r258203 - [Orc] #undef a MACRO after I'm done with it.
Lang Hames via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 19 14:20:22 PST 2016
Author: lhames
Date: Tue Jan 19 16:20:21 2016
New Revision: 258203
URL: http://llvm.org/viewvc/llvm-project?rev=258203&view=rev
Log:
[Orc] #undef a MACRO after I'm done with it.
Suggested by Philip Reames in review of r257951.
Thanks Philip!
Modified:
llvm/trunk/lib/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.cpp
Modified: llvm/trunk/lib/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.cpp?rev=258203&r1=258202&r2=258203&view=diff
==============================================================================
--- llvm/trunk/lib/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.cpp (original)
+++ llvm/trunk/lib/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.cpp Tue Jan 19 16:20:21 2016
@@ -9,14 +9,14 @@
#include "llvm/ExecutionEngine/Orc/OrcRemoteTargetRPCAPI.h"
-#define PROCNAME(X) \
- case X ## Id: \
- return #X
-
namespace llvm {
namespace orc {
namespace remote {
+#define PROCNAME(X) \
+ case X ## Id: \
+ return #X
+
const char *OrcRemoteTargetRPCAPI::getJITProcIdName(JITProcId Id) {
switch (Id) {
case InvalidId:
@@ -55,6 +55,9 @@ const char *OrcRemoteTargetRPCAPI::getJI
};
return nullptr;
}
-}
-}
-}
+
+#undef PROCNAME
+
+} // end namespace remote
+} // end namespace orc
+} // end namespace llvm
More information about the llvm-commits
mailing list