[PATCH] D46378: Undef the macros after their use
Aditya Kumar via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sun Sep 29 19:41:28 PDT 2019
hiraditya updated this revision to Diff 222340.
hiraditya added a comment.
Herald added a project: LLVM.
rebase
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D46378/new/
https://reviews.llvm.org/D46378
Files:
llvm/include/llvm/MC/MCLinkerOptimizationHint.h
Index: llvm/include/llvm/MC/MCLinkerOptimizationHint.h
===================================================================
--- llvm/include/llvm/MC/MCLinkerOptimizationHint.h
+++ llvm/include/llvm/MC/MCLinkerOptimizationHint.h
@@ -61,6 +61,7 @@
MCLOHCaseNameToId(AdrpAdd)
MCLOHCaseNameToId(AdrpLdrGot)
.Default(-1);
+#undef MCLOHCaseNameToId
}
static inline StringRef MCLOHIdToName(MCLOHType Kind) {
@@ -76,6 +77,7 @@
MCLOHCaseIdToName(AdrpLdrGot);
}
return StringRef();
+#undef MCLOHCaseIdToName
}
static inline int MCLOHIdToNbArgs(MCLOHType Kind) {
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46378.222340.patch
Type: text/x-patch
Size: 585 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190930/51f4b253/attachment.bin>
More information about the llvm-commits
mailing list