CfgInterface: rename interface() to getInterface()
authorNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 23 Oct 2020 14:49:34 +0000 (16:49 +0200)
committerNicolai Hähnle <nicolai.haehnle@amd.com>
Fri, 23 Oct 2020 14:52:10 +0000 (16:52 +0200)
Apparently there are some Microsoft headers which
`#define interface struct`. This method is only used
in pending changes so far.

Change-Id: Ic68fe8e1958ec9b015f817ee218431f4146b888a

llvm/include/llvm/Support/CfgTraits.h

index aa71ae3..fbb9620 100644 (file)
@@ -350,7 +350,7 @@ protected:
 public:
   virtual ~CfgPrinter() {}
 
-  const CfgInterface &interface() const { return m_iface; }
+  const CfgInterface &getInterface() const { return m_iface; }
 
   virtual void printBlockName(raw_ostream &out, CfgBlockRef block) const = 0;
   virtual void printValue(raw_ostream &out, CfgValueRef value) const = 0;