[LLVMbugs] [Bug 14009] New: error: no matching function for call to ‘llvm?=::MCTargetAsmParser::MatchInstruction(llvm::SMLoc&, unsigned int&, llvm::SmallVector<llvm::MCParsedAsmOperand*, 8u>&, llvm::SmallVector<llvm::MCInst, 2u>&, unsigned int&, bool)=?UTF-8?Q?’

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Wed Oct 3 12:59:07 PDT 2012


http://llvm.org/bugs/show_bug.cgi?id=14009

             Bug #: 14009
           Summary: error: no matching function for call to
                    ‘llvm::MCTargetAsmParser::MatchInstruction(llvm::SMLoc
                    &, unsigned int&,
                    llvm::SmallVector<llvm::MCParsedAsmOperand*, 8u>&,
                    llvm::SmallVector<llvm::MCInst, 2u>&, unsigned int&,
                    bool)’
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: -New Bugs
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: top.secret.1011 at gmail.com
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Building CXX object
tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaStmtAsm.cpp.o
/home/asd/Sources/llvm/llvm/tools/clang/lib/Sema/SemaStmtAsm.cpp: In member
function ‘clang::StmtResult clang::Sema::ActOnMSAsmStmt(clang::SourceLocation,
clang::SourceLocation, llvm::ArrayRef<clang::Token>, clang::SourceLocation)’:
/home/asd/Sources/llvm/llvm/tools/clang/lib/Sema/SemaStmtAsm.cpp:554:73: error:
no matching function for call to
‘llvm::MCTargetAsmParser::MatchInstruction(llvm::SMLoc&, unsigned int&,
llvm::SmallVector<llvm::MCParsedAsmOperand*, 8u>&,
llvm::SmallVector<llvm::MCInst, 2u>&, unsigned int&, bool)’
/home/asd/Sources/llvm/llvm/tools/clang/lib/Sema/SemaStmtAsm.cpp:554:73: note:
candidate is:
In file included from
/home/asd/Sources/llvm/llvm/tools/clang/lib/Sema/SemaStmtAsm.cpp:36:0:
/home/asd/Sources/llvm/llvm/include/llvm/MC/MCTargetAsmParser.h:92:3: note:
virtual bool llvm::MCTargetAsmParser::MatchInstruction(llvm::SMLoc,
llvm::SmallVectorImpl<llvm::MCParsedAsmOperand*>&, llvm::MCStreamer&, unsigned
int&, unsigned int&, llvm::SmallVectorImpl<std::pair<unsigned int,
std::basic_string<char> > >&, unsigned int&, bool)
/home/asd/Sources/llvm/llvm/include/llvm/MC/MCTargetAsmParser.h:92:3: note:  
candidate expects 8 arguments, 6 provided
/home/asd/Sources/llvm/llvm/tools/clang/lib/Sema/SemaStmtAsm.cpp:574:38: error:
‘class llvm::MCTargetAsmParser’ has no member named ‘getMCInstOperandNum’
make[2]: *** [tools/clang/lib/Sema/CMakeFiles/clangSema.dir/SemaStmtAsm.cpp.o]
Error 1
make[1]: *** [tools/clang/lib/Sema/CMakeFiles/clangSema.dir/all] Error 2
make: *** [all] Error 2

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list