[llvm] r218266 - Make MCAsmParserSemaCallback::LookupInlineAsmLabel a pure virtual function
Ehsan Akhgari
ehsan.akhgari at gmail.com
Mon Sep 22 12:49:07 PDT 2014
Author: ehsan
Date: Mon Sep 22 14:49:07 2014
New Revision: 218266
URL: http://llvm.org/viewvc/llvm-project?rev=218266&view=rev
Log:
Make MCAsmParserSemaCallback::LookupInlineAsmLabel a pure virtual function
Summary:
r218229 made this function return a dummy nullptr in order to avoid
API breakage between clang/llvm.
Reviewers: rnk
Subscribers: llvm-commits
Differential Revision: http://reviews.llvm.org/D5432
Modified:
llvm/trunk/include/llvm/MC/MCParser/MCAsmParser.h
Modified: llvm/trunk/include/llvm/MC/MCParser/MCAsmParser.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/MC/MCParser/MCAsmParser.h?rev=218266&r1=218265&r2=218266&view=diff
==============================================================================
--- llvm/trunk/include/llvm/MC/MCParser/MCAsmParser.h (original)
+++ llvm/trunk/include/llvm/MC/MCParser/MCAsmParser.h Mon Sep 22 14:49:07 2014
@@ -55,8 +55,7 @@ public:
InlineAsmIdentifierInfo &Info,
bool IsUnevaluatedContext) = 0;
virtual StringRef LookupInlineAsmLabel(StringRef Identifier, SourceMgr &SM,
- SMLoc Location, bool Create)
- { return nullptr; }
+ SMLoc Location, bool Create) = 0;
virtual bool LookupInlineAsmField(StringRef Base, StringRef Member,
unsigned &Offset) = 0;
More information about the llvm-commits
mailing list