Home
last modified time | relevance | path

Searched refs:CommandName (Results 1 – 20 of 20) sorted by relevance

/external/llvm-project/clang/lib/AST/
DCommentCommandTraits.cpp84 CommandInfo *CommandTraits::createCommandInfoWithName(StringRef CommandName) { in createCommandInfoWithName() argument
85 char *Name = Allocator.Allocate<char>(CommandName.size() + 1); in createCommandInfoWithName()
86 memcpy(Name, CommandName.data(), CommandName.size()); in createCommandInfoWithName()
87 Name[CommandName.size()] = '\0'; in createCommandInfoWithName()
104 StringRef CommandName) { in registerUnknownCommand() argument
105 CommandInfo *Info = createCommandInfoWithName(CommandName); in registerUnknownCommand()
110 const CommandInfo *CommandTraits::registerBlockCommand(StringRef CommandName) { in registerBlockCommand() argument
111 CommandInfo *Info = createCommandInfoWithName(CommandName); in registerBlockCommand()
DCommentSema.cpp370 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name; in actOnInlineCommand() local
375 getInlineCommandRenderKind(CommandName), in actOnInlineCommand()
389 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name; in actOnInlineCommand() local
395 getInlineCommandRenderKind(CommandName), in actOnInlineCommand()
401 StringRef CommandName) { in actOnUnknownCommand() argument
402 unsigned CommandID = Traits.registerUnknownCommand(CommandName)->getID(); in actOnUnknownCommand()
424 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name; in actOnVerbatimBlockStart() local
427 Loc.getLocWithOffset(1 + CommandName.size()), in actOnVerbatimBlockStart()
648 StringRef CommandName = Command->getCommandName(Traits); in checkBlockCommandDuplicate() local
652 << CommandName in checkBlockCommandDuplicate()
[all …]
DCommentLexer.cpp404 StringRef CommandName(BufferPtr + 1, Length); in lexCommentText() local
406 const CommandInfo *Info = Traits.getCommandInfoOrNULL(CommandName); in lexCommentText()
408 if ((Info = Traits.getTypoCorrectCommandInfo(CommandName))) { in lexCommentText()
415 << FullRange << CommandName << CorrectedName in lexCommentText()
419 T.setUnknownCommandName(CommandName); in lexCommentText()
/external/clang/lib/AST/
DCommentCommandTraits.cpp84 CommandInfo *CommandTraits::createCommandInfoWithName(StringRef CommandName) { in createCommandInfoWithName() argument
85 char *Name = Allocator.Allocate<char>(CommandName.size() + 1); in createCommandInfoWithName()
86 memcpy(Name, CommandName.data(), CommandName.size()); in createCommandInfoWithName()
87 Name[CommandName.size()] = '\0'; in createCommandInfoWithName()
104 StringRef CommandName) { in registerUnknownCommand() argument
105 CommandInfo *Info = createCommandInfoWithName(CommandName); in registerUnknownCommand()
110 const CommandInfo *CommandTraits::registerBlockCommand(StringRef CommandName) { in registerBlockCommand() argument
111 CommandInfo *Info = createCommandInfoWithName(CommandName); in registerBlockCommand()
DCommentSema.cpp368 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name; in actOnInlineCommand() local
373 getInlineCommandRenderKind(CommandName), in actOnInlineCommand()
387 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name; in actOnInlineCommand() local
393 getInlineCommandRenderKind(CommandName), in actOnInlineCommand()
399 StringRef CommandName) { in actOnUnknownCommand() argument
400 unsigned CommandID = Traits.registerUnknownCommand(CommandName)->getID(); in actOnUnknownCommand()
422 StringRef CommandName = Traits.getCommandInfo(CommandID)->Name; in actOnVerbatimBlockStart() local
425 Loc.getLocWithOffset(1 + CommandName.size()), in actOnVerbatimBlockStart()
642 StringRef CommandName = Command->getCommandName(Traits); in checkBlockCommandDuplicate() local
646 << CommandName in checkBlockCommandDuplicate()
[all …]
DCommentLexer.cpp374 StringRef CommandName(BufferPtr + 1, Length); in lexCommentText() local
376 const CommandInfo *Info = Traits.getCommandInfoOrNULL(CommandName); in lexCommentText()
378 if ((Info = Traits.getTypoCorrectCommandInfo(CommandName))) { in lexCommentText()
384 << CommandName << CorrectedName in lexCommentText()
388 T.setUnknownCommandName(CommandName); in lexCommentText()
/external/llvm-project/clang/test/Index/
Dcomment-misc-tags.m25 // CHECK: (CXComment_BlockCommand CommandName=[abstract]
28 // CHECK: (CXComment_BlockCommand CommandName=[discussion]
32 // CHECK: (CXComment_VerbatimBlockCommand CommandName=[textblock]
38 // CHECK: (CXComment_VerbatimBlockCommand CommandName=[link]
42 // CHECK: (CXComment_BlockCommand CommandName=[see]
46 // CHECK: (CXComment_BlockCommand CommandName=[seealso]
62 // CHECK: (CXComment_BlockCommand CommandName=[arg]
65 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[c] RenderMonospaced Arg[0]=AlignLeft)
67 // CHECK: (CXComment_BlockCommand CommandName=[li]
70 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[c] RenderMonospaced Arg[0]=AlignRight)
[all …]
Dheaderfile-comment-to-html.m25 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[headerfile]
47 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[headerfile]
52 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief]
70 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief]
74 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[headerfile]
91 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[headerfile]
107 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[headerfile]
/external/clang/test/Index/
Dcomment-misc-tags.m25 // CHECK: (CXComment_BlockCommand CommandName=[abstract]
28 // CHECK: (CXComment_BlockCommand CommandName=[discussion]
32 // CHECK: (CXComment_VerbatimBlockCommand CommandName=[textblock]
38 // CHECK: (CXComment_VerbatimBlockCommand CommandName=[link]
42 // CHECK: (CXComment_BlockCommand CommandName=[see]
46 // CHECK: (CXComment_BlockCommand CommandName=[seealso]
62 // CHECK: (CXComment_BlockCommand CommandName=[arg]
65 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[c] RenderMonospaced Arg[0]=AlignLeft)
67 // CHECK: (CXComment_BlockCommand CommandName=[li]
70 // CHECK-NEXT: (CXComment_InlineCommand CommandName=[c] RenderMonospaced Arg[0]=AlignRight)
[all …]
Dheaderfile-comment-to-html.m25 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[headerfile]
47 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[headerfile]
52 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief]
70 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[brief]
74 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[headerfile]
91 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[headerfile]
107 // CHECK-NEXT: (CXComment_BlockCommand CommandName=[headerfile]
/external/llvm-project/libc/utils/HdrGen/
DGenerator.cpp36 Command *Generator::getCommandHandler(llvm::StringRef CommandName) { in getCommandHandler() argument
37 if (CommandName == IncludeFileCommand::Name) { in getCommandHandler()
41 } else if (CommandName == PublicAPICommand::Name) { in getCommandHandler()
93 llvm::StringRef CommandName = P.first; in generate() local
94 Command *Cmd = getCommandHandler(CommandName); in generate()
96 SrcMgr.PrintMessage(llvm::SMLoc::getFromPointer(CommandName.data()), in generate()
98 "Unknown command '%%" + CommandName + "'."); in generate()
107 llvm::SMLoc::getFromPointer(CommandName.data()), SrcMgr); in generate()
DGenerator.h41 Command *getCommandHandler(llvm::StringRef CommandName);
/external/clang/include/clang/AST/
DCommentCommandTraits.h156 const CommandInfo *registerUnknownCommand(StringRef CommandName);
158 const CommandInfo *registerBlockCommand(StringRef CommandName);
175 CommandInfo *createCommandInfoWithName(StringRef CommandName);
DCommentSema.h145 StringRef CommandName);
/external/llvm-project/clang/include/clang/AST/
DCommentCommandTraits.h155 const CommandInfo *registerUnknownCommand(StringRef CommandName);
157 const CommandInfo *registerBlockCommand(StringRef CommandName);
174 CommandInfo *createCommandInfoWithName(StringRef CommandName);
DCommentSema.h144 StringRef CommandName);
/external/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_dump.c1487 #define SVGA3D_DUMP_HEADER(CommandName) \ argument
1489 dump_SVGA3dCmdDX##CommandName(const SVGA3dCmdDX##CommandName *cmd)
2059 #define SVGA3D_DUMP_CASE_BASIC(CommandName, CommandCode) \ argument
2063 const SVGA3dCmdDX##CommandName *cmd = (const SVGA3dCmdDX##CommandName *)body; \
2064 dump_SVGA3dCmdDX##CommandName(cmd); \
2069 #define SVGA3D_DUMP_CASE_LIST(CommandName, CommandCode, ElementType) \ argument
2073 const SVGA3dCmdDX##CommandName *cmd = (const SVGA3dCmdDX##CommandName *)body; \
2074 dump_SVGA3dCmdDX##CommandName(cmd); \
/external/llvm-project/clang/unittests/AST/
DCommentParser.cpp184 StringRef CommandName, in HasParamCommandAt() argument
194 if (ActualCommandName != CommandName) in HasParamCommandAt()
197 "expected \"" << CommandName.str() << "\""; in HasParamCommandAt()
232 StringRef CommandName, in HasTParamCommandAt() argument
240 if (ActualCommandName != CommandName) in HasTParamCommandAt()
243 "expected \"" << CommandName.str() << "\""; in HasTParamCommandAt()
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_cmd_vgpu10.c81 #define SVGA3D_CREATE_COMMAND(CommandName, CommandCode) \ argument
82 SVGA3dCmdDX##CommandName *cmd; \
85 sizeof(SVGA3dCmdDX##CommandName), 0); \
90 #define SVGA3D_CREATE_CMD_COUNT(CommandName, CommandCode, ElementClassName) \ argument
91 SVGA3dCmdDX##CommandName *cmd; \
95 sizeof(SVGA3dCmdDX##CommandName) + \
/external/clang/unittests/AST/
DCommentParser.cpp186 StringRef CommandName, in HasParamCommandAt() argument
196 if (ActualCommandName != CommandName) in HasParamCommandAt()
199 "expected \"" << CommandName.str() << "\""; in HasParamCommandAt()
234 StringRef CommandName, in HasTParamCommandAt() argument
242 if (ActualCommandName != CommandName) in HasTParamCommandAt()
245 "expected \"" << CommandName.str() << "\""; in HasTParamCommandAt()