Searched refs:Syntax (Results 1 - 25 of 29) sorted by relevance

12

/freebsd-current/contrib/llvm-project/clang/include/clang/Basic/
H A DAttributes.h22 int hasAttribute(AttributeCommonInfo::Syntax Syntax,
H A DParsedAttrInfo.h67 AttributeCommonInfo::Syntax Syntax; member in struct:clang::ParsedAttrInfo::Spelling
100 bool hasSpelling(AttributeCommonInfo::Syntax Syntax, StringRef Name) const { argument
102 return (S.Syntax == Syntax && S.NormalizedFullName == Name);
H A DAttributeCommonInfo.h28 enum Syntax { enum in class:clang::AttributeCommonInfo
79 /// Corresponds to the Syntax enum.
80 LLVM_PREFERRED_TYPE(Syntax)
97 constexpr Form(Syntax SyntaxUsed, unsigned SpellingIndex, bool IsAlignas,
107 Syntax getSyntax() const { return Syntax(SyntaxUsed); }
127 constexpr Form(Syntax SyntaxUsed)
131 LLVM_PREFERRED_TYPE(Syntax)
174 Syntax getSyntax() const { return Syntax(SyntaxUse
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/Basic/
H A DAttributes.cpp22 static int hasAttributeImpl(AttributeCommonInfo::Syntax Syntax, StringRef Name, argument
31 int clang::hasAttribute(AttributeCommonInfo::Syntax Syntax, argument
53 int res = hasAttributeImpl(Syntax, Name, ScopeName, Target, LangOpts);
59 if (Ptr->hasSpelling(Syntax, Name))
77 AttributeCommonInfo::Syntax SyntaxUsed) {
96 AttributeCommonInfo::Syntax SyntaxUsed) {
125 AttributeCommonInfo::Syntax SyntaxUsed) {
143 Syntax SyntaxUse
155 auto Syntax = static_cast<AttributeCommonInfo::Syntax>(getSyntax()); local
[all...]
/freebsd-current/contrib/llvm-project/clang/include/clang/Tooling/
H A DJSONCompilationDatabase.h69 JSONCommandLineSyntax Syntax);
76 JSONCommandLineSyntax Syntax);
98 JSONCommandLineSyntax Syntax)
99 : Database(std::move(Database)), Syntax(Syntax),
134 JSONCommandLineSyntax Syntax; member in class:clang::tooling::JSONCompilationDatabase
97 JSONCompilationDatabase(std::unique_ptr<llvm::MemoryBuffer> Database, JSONCommandLineSyntax Syntax) argument
/freebsd-current/contrib/llvm-project/clang/lib/Tooling/
H A DJSONCompilationDatabase.cpp135 std::vector<std::string> unescapeCommandLine(JSONCommandLineSyntax Syntax, argument
137 if (Syntax == JSONCommandLineSyntax::AutoDetect) {
140 Syntax = JSONCommandLineSyntax::Windows;
142 Syntax = JSONCommandLineSyntax::Gnu;
146 if (Syntax == JSONCommandLineSyntax::Windows) {
154 assert(Syntax == JSONCommandLineSyntax::Gnu);
195 JSONCommandLineSyntax Syntax) {
206 new JSONCompilationDatabase(std::move(*DatabaseBuffer), Syntax));
215 JSONCommandLineSyntax Syntax) {
219 new JSONCompilationDatabase(std::move(DatabaseBuffer), Syntax));
193 loadFromFile(StringRef FilePath, std::string &ErrorMessage, JSONCommandLineSyntax Syntax) argument
213 loadFromBuffer(StringRef DatabaseString, std::string &ErrorMessage, JSONCommandLineSyntax Syntax) argument
298 nodeToCommandLine(JSONCommandLineSyntax Syntax, const std::vector<llvm::yaml::ScalarNode *> &Nodes) argument
[all...]
/freebsd-current/contrib/llvm-project/clang/lib/Sema/
H A DParsedAttr.cpp124 AttributeCommonInfo::Syntax SyntaxUsed = A.getSyntax();
H A DSemaCodeComplete.cpp4590 void Sema::CodeCompleteAttribute(AttributeCommonInfo::Syntax Syntax, argument
4618 bool SyntaxSupportsGuards = Syntax == AttributeCommonInfo::AS_GNU ||
4619 Syntax == AttributeCommonInfo::AS_CXX11 ||
4620 Syntax == AttributeCommonInfo::AS_C23;
4629 if (S.Syntax != Syntax)
4633 if ((Syntax == AttributeCommonInfo::AS_CXX11 ||
4634 Syntax == AttributeCommonInfo::AS_C23)) {
/freebsd-current/contrib/llvm-project/clang/lib/Lex/
H A DPPMacroExpansion.cpp1746 return II ? hasAttribute(AttributeCommonInfo::Syntax::AS_GNU, nullptr,
1758 hasAttribute(AttributeCommonInfo::Syntax::AS_Declspec, nullptr,
1788 AttributeCommonInfo::Syntax Syntax =
1789 IsCXX ? AttributeCommonInfo::Syntax::AS_CXX11
1790 : AttributeCommonInfo::Syntax::AS_C23;
1791 return II ? hasAttribute(Syntax, ScopeII, II, getTargetInfo(),
/freebsd-current/bin/sh/
H A Dparser.c1927 outfmt(out2, "Syntax error: %s\n", msg);
/freebsd-current/contrib/llvm-project/clang/lib/Serialization/
H A DASTReaderDecl.cpp3162 unsigned Syntax = Record.readInt(); local
3165 Syntax == AttributeCommonInfo::AS_Keyword &&
3171 {AttributeCommonInfo::Syntax(Syntax), SpellingIndex,
/freebsd-current/contrib/llvm-project/clang/lib/Parse/
H A DParseDeclCXX.cpp4430 if (hasAttribute(AttributeCommonInfo::Syntax::AS_Microsoft, ScopeName,
4438 !hasAttribute(LO.CPlusPlus ? AttributeCommonInfo::Syntax::AS_CXX11
4439 : AttributeCommonInfo::Syntax::AS_C23,
H A DParseDecl.cpp208 Actions.CodeCompleteAttribute(AttributeCommonInfo::Syntax::AS_GNU);
697 if (!hasAttribute(AttributeCommonInfo::Syntax::AS_Declspec, nullptr, AttrName,
H A DParsePragma.cpp1919 Actions.CodeCompleteAttribute(AttributeCommonInfo::Syntax::AS_GNU);
/freebsd-current/contrib/tcpdump/
H A Dconfigure3799 # not just through cpp. "Syntax error" is here to catch this case.
3807 Syntax error
3858 # not just through cpp. "Syntax error" is here to catch this case.
3866 Syntax error
/freebsd-current/contrib/sqlite3/tea/
H A Dconfigure4755 # not just through cpp. "Syntax error" is here to catch this case.
4759 Syntax error
4811 # not just through cpp. "Syntax error" is here to catch this case.
4815 Syntax error
/freebsd-current/contrib/byacc/
H A Dconfigure4823 # not just through cpp. "Syntax error" is here to catch this case.
4828 Syntax error
4914 # not just through cpp. "Syntax error" is here to catch this case.
4919 Syntax error
/freebsd-current/contrib/openpam/
H A Dconfigure4569 # not just through cpp. "Syntax error" is here to catch this case.
4573 Syntax error
4625 # not just through cpp. "Syntax error" is here to catch this case.
4629 Syntax error
13741 # not just through cpp. "Syntax error" is here to catch this case.
13745 Syntax error
13797 # not just through cpp. "Syntax error" is here to catch this case.
13801 Syntax error
/freebsd-current/contrib/openbsm/
H A Dconfigure7147 # not just through cpp. "Syntax error" is here to catch this case.
7155 Syntax error
7206 # not just through cpp. "Syntax error" is here to catch this case.
7214 Syntax error
/freebsd-current/contrib/libpcap/
H A Dconfigure4159 # not just through cpp. "Syntax error" is here to catch this case.
4167 Syntax error
4218 # not just through cpp. "Syntax error" is here to catch this case.
4226 Syntax error
/freebsd-current/contrib/ncurses/
H A Dconfigure2885 # not just through cpp. "Syntax error" is here to catch this case.
2890 Syntax error
2976 # not just through cpp. "Syntax error" is here to catch this case.
2981 Syntax error
25723 # not just through cpp. "Syntax error" is here to catch this case.
25728 Syntax error
25814 # not just through cpp. "Syntax error" is here to catch this case.
25819 Syntax error
/freebsd-current/contrib/dialog/
H A Dconfigure2521 # not just through cpp. "Syntax error" is here to catch this case.
2526 Syntax error
2612 # not just through cpp. "Syntax error" is here to catch this case.
2617 Syntax error
/freebsd-current/contrib/libevent/
H A Dconfigure4424 # not just through cpp. "Syntax error" is here to catch this case.
4432 Syntax error
4483 # not just through cpp. "Syntax error" is here to catch this case.
4491 Syntax error
/freebsd-current/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h13703 AttributeCommonInfo::Syntax Syntax,
/freebsd-current/contrib/unbound/
H A Dconfigure16141 # not just through cpp. "Syntax error" is here to catch this case.
16145 Syntax error
16197 # not just through cpp. "Syntax error" is here to catch this case.
16201 Syntax error

Completed in 991 milliseconds

12