|
|
|||
File indexing completed on 2026-05-10 08:44:12
0001 //===- llvm/MC/MCAsmParserUtils.h - Asm Parser Utilities --------*- C++ -*-===// 0002 // 0003 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 0004 // See https://llvm.org/LICENSE.txt for license information. 0005 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 0006 // 0007 //===----------------------------------------------------------------------===// 0008 0009 #ifndef LLVM_MC_MCPARSER_MCASMPARSERUTILS_H 0010 #define LLVM_MC_MCPARSER_MCASMPARSERUTILS_H 0011 0012 namespace llvm { 0013 0014 class MCAsmParser; 0015 class MCExpr; 0016 class MCSymbol; 0017 class StringRef; 0018 0019 namespace MCParserUtils { 0020 0021 /// Parse a value expression and return whether it can be assigned to a symbol 0022 /// with the given name. 0023 /// 0024 /// On success, returns false and sets the Symbol and Value output parameters. 0025 bool parseAssignmentExpression(StringRef Name, bool allow_redef, 0026 MCAsmParser &Parser, MCSymbol *&Symbol, 0027 const MCExpr *&Value); 0028 0029 } // namespace MCParserUtils 0030 0031 } // namespace llvm 0032 0033 #endif // LLVM_MC_MCPARSER_MCASMPARSERUTILS_H
| [ Source navigation ] | [ Diff markup ] | [ Identifier search ] | [ general search ] |
|
This page was automatically generated by the 2.3.7 LXR engine. The LXR team |
|