[llvm] r316514 - TargetOpcodes.h: Don't mark header functions as file local

David Blaikie via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 24 14:29:20 PDT 2017


Author: dblaikie
Date: Tue Oct 24 14:29:19 2017
New Revision: 316514

URL: http://llvm.org/viewvc/llvm-project?rev=316514&view=rev
Log:
TargetOpcodes.h: Don't mark header functions as file local

Modified:
    llvm/trunk/include/llvm/Target/TargetOpcodes.h

Modified: llvm/trunk/include/llvm/Target/TargetOpcodes.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Target/TargetOpcodes.h?rev=316514&r1=316513&r2=316514&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Target/TargetOpcodes.h (original)
+++ llvm/trunk/include/llvm/Target/TargetOpcodes.h Tue Oct 24 14:29:19 2017
@@ -28,13 +28,13 @@ enum {
 
 /// Check whether the given Opcode is a generic opcode that is not supposed
 /// to appear after ISel.
-static inline bool isPreISelGenericOpcode(unsigned Opcode) {
+inline bool isPreISelGenericOpcode(unsigned Opcode) {
   return Opcode >= TargetOpcode::PRE_ISEL_GENERIC_OPCODE_START &&
          Opcode <= TargetOpcode::PRE_ISEL_GENERIC_OPCODE_END;
 }
 
 /// Check whether the given Opcode is a target-specific opcode.
-static inline bool isTargetSpecificOpcode(unsigned Opcode) {
+inline bool isTargetSpecificOpcode(unsigned Opcode) {
   return Opcode > TargetOpcode::PRE_ISEL_GENERIC_OPCODE_END;
 }
 } // end namespace llvm




More information about the llvm-commits mailing list