Home
last modified time | relevance | path

Searched refs:LineComment (Results 1 – 18 of 18) sorted by relevance

/llvm-project-15.0.7/clang/include/clang/Basic/
H A DLangStandards.def49 LineComment | Digraphs | GNUMode)
55 LineComment | C99 | Digraphs | HexFloat)
68 LineComment | C99 | C11 | Digraphs | HexFloat)
101 LineComment | CPlusPlus | Digraphs)
106 LineComment | CPlusPlus | Digraphs | GNUMode)
214 LineComment | HLSL | CPlusPlus )
218 LineComment | HLSL | CPlusPlus )
222 LineComment | HLSL | CPlusPlus )
226 LineComment | HLSL | CPlusPlus )
230 LineComment | HLSL | CPlusPlus )
[all …]
H A DLangStandard.h48 LineComment = (1 << 0), enumerator
92 bool hasLineComments() const { return Flags & LineComment; } in hasLineComments()
H A DLangOptions.def112 LANGOPT(LineComment , 1, 0, "'//' comments")
/llvm-project-15.0.7/llvm/tools/llvm-rc/
H A DResourceScriptToken.cpp177 if (TokenKind == Kind::LineComment || TokenKind == Kind::StartComment) in run()
219 case Kind::LineComment: in consumeToken()
324 return Kind::LineComment; in classifyCurrentToken()
H A DResourceScriptTokenList.def20 TOKEN(LineComment) // Beginning of single-line comment.
/llvm-project-15.0.7/lldb/source/Plugins/Language/ClangCommon/
H A DClangHighlighter.cpp179 Opts.LineComment = true; in Highlight()
/llvm-project-15.0.7/clang/lib/Basic/
H A DLangOptions.cpp102 Opts.LineComment = Std.hasLineComments(); in setLangDefaults()
/llvm-project-15.0.7/clang/lib/Lex/
H A DLexer.cpp140 LangOpts(PP.getLangOpts()), LineComment(LangOpts.LineComment), in Lexer()
154 : FileLoc(fileloc), LangOpts(langOpts), LineComment(LangOpts.LineComment), in Lexer()
2380 if (!LineComment) { in SkipLineComment()
2386 LineComment = true; in SkipLineComment()
3639 LineComment && (LangOpts.CPlusPlus || !LangOpts.TraditionalCPP)) { in LexTokenInternal()
3950 LineComment && (LangOpts.CPlusPlus || !LangOpts.TraditionalCPP); in LexTokenInternal()
H A DDependencyDirectivesScanner.cpp73 LangOpts.LineComment = true; in getLangOptsForDepScanning()
H A DModuleMap.cpp319 MMapLangOpts.LineComment = true; in ModuleMap()
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DLexer.h106 bool LineComment; variable
/llvm-project-15.0.7/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionSourceCode.cpp266 Opts.LineComment = true; in TokenVerifier()
/llvm-project-15.0.7/clang/lib/Tooling/Inclusions/
H A DHeaderIncludes.cpp26 LangOpts.LineComment = 1; in createLangOpts()
/llvm-project-15.0.7/lldb/source/Plugins/Language/CPlusPlus/
H A DCPlusPlusNameParser.cpp653 g_options.LineComment = true; in GetLangOptions()
/llvm-project-15.0.7/clang/unittests/Lex/
H A DLexerTest.cpp644 LangOpts.LineComment = false; in TEST_F()
/llvm-project-15.0.7/clang/lib/Format/
H A DFormatToken.h91 TYPE(LineComment) \
H A DFormat.cpp3429 LangOpts.LineComment = 1; in getFormattingLangOpts()
/llvm-project-15.0.7/lldb/source/Plugins/TypeSystem/Clang/
H A DTypeSystemClang.cpp505 Opts.LineComment = Std.hasLineComments(); in ParseLangArgs()