[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:45:59 PDT 2019
    
    
  
This revision was not accepted when it landed; it landed in state "Needs Review".
This revision was automatically updated to reflect the committed changes.
Closed by commit rL373176: Undef the macros after their use (authored by hiraditya, committed by ).
Changed prior to commit:
  https://reviews.llvm.org/D46378?vs=222340&id=222341#toc
Repository:
  rL LLVM
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D46378/new/
https://reviews.llvm.org/D46378
Files:
  llvm/trunk/include/llvm/MC/MCLinkerOptimizationHint.h
Index: llvm/trunk/include/llvm/MC/MCLinkerOptimizationHint.h
===================================================================
--- llvm/trunk/include/llvm/MC/MCLinkerOptimizationHint.h
+++ llvm/trunk/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.222341.patch
Type: text/x-patch
Size: 603 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190930/d14a91b9/attachment.bin>
    
    
More information about the llvm-commits
mailing list