OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:Macro
(Results
1 - 17
of
17
) sorted by relevancy
/src/external/apache2/llvm/dist/llvm/tools/yaml2obj/
yaml2obj.cpp
40
"definition. The syntax is <
macro
>=<definition>"));
61
StringRef
Macro
, Definition;
62
std::tie(
Macro
, Definition) = Define.split('=');
63
if (!Define.count('=') ||
Macro
.empty()) {
67
if (!Defines.try_emplace(
Macro
, Definition).second) {
68
ErrHandler("'" +
Macro
+ "'" + " redefined");
79
StringRef
Macro
;
81
std::tie(
Macro
, Default) = MacroExpr.split('=');
84
// Otherwise we use a default
macro
value if present.
85
auto It = Defines.find(
Macro
);
[
all
...]
/src/external/apache2/llvm/dist/clang/include/clang/Lex/
TokenLexer.h
27
/// TokenLexer - This implements a lexer that returns tokens from a
macro
body
29
///
macro
expansion and _Pragma handling, for example.
33
/// The
macro
we are expanding from. This is null if expanding a token stream.
34
MacroInfo *
Macro
= nullptr;
36
/// The actual arguments specified for a function-like
macro
, or null. The
43
/// This is the pointer to an array of tokens that the
macro
is
46
/// the
macro
definition we are lexing from, a cache buffer that is owned by
59
/// The source location range where this
macro
was expanded.
63
/// was reserved for the current
macro
expansion.
66
/// The offset of the
macro
expansion in th
[
all
...]
MacroInfo.h
36
/// Encapsulates the data about a
macro
definition (e.g. its tokens).
41
// State set when the
macro
is defined.
43
/// The location the
macro
is defined.
46
/// The location of the last token in the
macro
.
49
/// The list of arguments for a function-like
macro
.
54
///
macro
, this includes the \c __VA_ARGS__ identifier on the list.
60
/// This is the list of tokens that the
macro
is defined to.
63
/// Length in characters of the
macro
definition.
67
/// True if this
macro
is function-like, false if it is object-like.
70
/// True if this
macro
is of the form "#define X(...)" o
[
all
...]
/src/external/apache2/llvm/dist/llvm/include/llvm/Support/
WithColor.h
32
Macro
,
/src/external/apache2/llvm/dist/clang/lib/Lex/
PPExpressions.cpp
96
/// indicates the
macro
that was checked.
131
MacroDefinition
Macro
= PP.getMacroDefinition(II);
132
Result.Val = !!
Macro
;
134
DT.IncludedUndefinedIds = !
Macro
;
136
// If there is a
macro
, mark it used.
138
PP.markMacroAsUsed(
Macro
.getMacroInfo());
140
// Save
macro
token for callback.
165
// Prior to evaluation,
macro
invocations in the list of preprocessing
167
// (except for those
macro
names modified by the 'defined' unary operator),
170
// not match one of the two specified forms prior to
macro
replacement, th
[
all
...]
/src/external/apache2/llvm/dist/clang/tools/libclang/
CIndexHigh.cpp
129
/// For a
macro
\arg Loc, returns the file spelling location and sets
130
/// to \arg isMacroArg whether the spelling resides inside a
macro
definition or
131
/// a
macro
argument.
200
// FIXME: For a
macro
definition make sure that all expansions
247
const IdentifierInfo *
Macro
;
251
const IdentifierInfo *
Macro
,
253
: Unit(Unit), File(File),
Macro
(
Macro
), visitor(visitor) { }
265
const IdentifierInfo *
Macro
= nullptr;
267
Macro
= getCursorMacroDefinition(cursor)->getName()
[
all
...]
CXCursor.cpp
1530
const IdentifierInfo *
Macro
= definition->getName();
1533
Macro
,
1534
unit->getPreprocessor().getMacroDefinition(
Macro
).getMacroInfo());
/src/external/apache2/llvm/dist/llvm/include/llvm/DebugInfo/DWARF/
DWARFContext.h
64
std::unique_ptr<DWARFDebugMacro>
Macro
;
109
/// Helper enum to distinguish between
macro
[.dwo] and macinfo[.dwo]
421
/// Parse a
macro
[.dwo] or macinfo[.dwo] section.
/src/external/apache2/llvm/dist/clang/include/clang/Index/
IndexSymbol.h
29
Macro
,
110
// Note that
macro
occurrences aren't currently supported in libclang.
111
Undefinition = 1 << 9, //
macro
#undef
/src/external/apache2/llvm/dist/clang/lib/Analysis/
PathDiagnostic.cpp
95
case PathDiagnosticPiece::
Macro
: {
96
auto &
Macro
= cast<PathDiagnosticMacroPiece>(*Piece);
98
Macro
.subPieces.flattenTo(Primary, Primary, ShouldFlattenMacros);
102
Macro
.subPieces.flattenTo(Primary, NewPath, ShouldFlattenMacros);
104
Macro
.subPieces = NewPath;
197
else if (const auto *
macro
= dyn_cast<PathDiagnosticMacroPiece>(piece))
198
WorkList.push_back(&
macro
->subPieces);
299
case PathDiagnosticPiece::
Macro
:
1185
llvm::errs() << "
MACRO
\n--------------\n";
1186
// FIXME: Print which
macro
is being invoked
[
all
...]
/src/external/apache2/llvm/dist/clang/lib/Parse/
Parser.cpp
236
// If either token is in a
macro
, we expect both tokens to come from the same
237
//
macro
expansion.
2163
void Parser::CodeCompleteMacroArgument(IdentifierInfo *
Macro
,
2166
Actions.CodeCompletePreprocessorMacroArgument(getCurScope(),
Macro
, MacroInfo,
/src/external/apache2/llvm/dist/clang/include/clang/Analysis/
PathDiagnostic.h
68
/// Whether to include additional information about
macro
expansions
406
enum Kind { ControlFlow, Event,
Macro
, Call, Note, PopUp };
530
return P->getKind() == Event || P->getKind() ==
Macro
||
708
: PathDiagnosticSpotPiece(pos, "",
Macro
) {}
720
return P->getKind() ==
Macro
;
/src/external/apache2/llvm/dist/llvm/lib/DebugInfo/DWARF/
DWARFContext.cpp
265
auto
Macro
= std::make_unique<DWARFDebugMacro>();
267
if (Error Err = IsMacro ?
Macro
->parseMacro(SectionType == MacroSection
274
:
Macro
->parseMacinfo(Data)) {
276
Macro
= nullptr;
302
return
Macro
;
476
if (auto
Macro
= getDebugMacro())
477
Macro
->dump(OS);
865
if (!
Macro
)
866
Macro
= parseMacroOrMacinfo(MacroSection);
867
return
Macro
.get()
[
all
...]
/src/external/apache2/llvm/dist/clang/lib/Serialization/
ASTWriter.cpp
1337
//
Macro
definitions.
1349
//
Macro
includes
1603
/// Create an abbreviation for the SLocEntry that refers to a
macro
2033
// The source location entry is a
macro
expansion.
2043
// Compute the token length for this
macro
expansion.
2195
// Loop over all the
macro
directives that are live at the end of the file,
2198
// Construct the list of identifiers with
macro
directives that need to be
2206
// Sort the set of
macro
definitions that need to be serialized by the
2207
// name of the
macro
, to provide a stable ordering.
2210
// Emit the
macro
directives as a list and associate the offset with th
[
all
...]
ASTReader.cpp
586
/// Collect the
macro
definitions provided by the given preprocessor
593
StringRef
Macro
= PPOpts.Macros[I].first;
596
std::pair<StringRef, StringRef> MacroPair =
Macro
.split('=');
600
// For an #undef'd
macro
, we only care about the name.
609
// For a #define'd
macro
, figure out the actual definition.
610
if (MacroName.size() ==
Macro
.size())
638
// Check
macro
definitions.
646
// Dig out the
macro
definition in the existing preprocessor options.
650
// Check whether we know anything about this
macro
name or not.
672
// If the
macro
was defined in one but undef'd in the other, we have
[
all
...]
/src/external/apache2/llvm/dist/clang/lib/CodeGen/
CGDebugInfo.cpp
2601
//
Macro
definitions that were defined with "-D" on the command line.
2607
// Translate the
macro
definitions back into a command line.
2611
const std::string &
Macro
= M.first;
2614
for (char c :
Macro
)
/src/external/apache2/llvm/dist/llvm/lib/Target/Mips/AsmParser/
MipsAsmParser.cpp
81
Macro
= Opts->isMacro();
98
bool isMacro() const { return
Macro
; }
99
void setMacro() {
Macro
= true; }
100
void setNoMacro() {
Macro
= false; }
115
bool
Macro
= true;
3033
Error(IDLoc, "
macro
instruction uses large offset, which is not "
3226
default: llvm_unreachable("Unknown register in assembly
macro
expansion!");
4154
// Expand a integer division
macro
.
4248
// If the
macro
expansion of (d)div(u) or (d)rem(u) would always trap or
4262
// not expand to
macro
sequence
[
all
...]
Completed in 56 milliseconds
Indexes created Tue Feb 24 08:35:24 UTC 2026