From a74fc481588fcea9317cbf1f6c5888a30c9edd2d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolai=20H=C3=A4hnle?= Date: Fri, 23 Oct 2020 16:49:34 +0200 Subject: [PATCH] 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 --- llvm/include/llvm/Support/CfgTraits.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/include/llvm/Support/CfgTraits.h b/llvm/include/llvm/Support/CfgTraits.h index aa71ae3..fbb9620 100644 --- a/llvm/include/llvm/Support/CfgTraits.h +++ b/llvm/include/llvm/Support/CfgTraits.h @@ -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; -- 2.7.4