[llvm] a74fc48 - CfgInterface: rename interface() to getInterface()
Nicolai Hähnle via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 23 07:52:18 PDT 2020
Author: Nicolai Hähnle
Date: 2020-10-23T16:52:10+02:00
New Revision: a74fc481588fcea9317cbf1f6c5888a30c9edd2d
URL: https://github.com/llvm/llvm-project/commit/a74fc481588fcea9317cbf1f6c5888a30c9edd2d
DIFF: https://github.com/llvm/llvm-project/commit/a74fc481588fcea9317cbf1f6c5888a30c9edd2d.diff
LOG: CfgInterface: rename interface() to getInterface()
Apparently there are some Microsoft headers which
`#define interface struct`. This method is only used
in pending changes so far.
Change-Id: Ic68fe8e1958ec9b015f817ee218431f4146b888a
Added:
Modified:
llvm/include/llvm/Support/CfgTraits.h
Removed:
################################################################################
diff --git a/llvm/include/llvm/Support/CfgTraits.h b/llvm/include/llvm/Support/CfgTraits.h
index aa71ae359012..fbb9620c7911 100644
--- a/llvm/include/llvm/Support/CfgTraits.h
+++ b/llvm/include/llvm/Support/CfgTraits.h
@@ -350,7 +350,7 @@ class CfgPrinter {
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;
More information about the llvm-commits
mailing list