Home
last modified time | relevance | path

Searched refs:ReservedIdentifierStatus (Results 1 – 10 of 10) sorted by relevance

/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DIdentifierTable.h48 enum class ReservedIdentifierStatus { enum
66 inline bool isReservedAtGlobalScope(ReservedIdentifierStatus Status) { in isReservedAtGlobalScope()
67 return Status != ReservedIdentifierStatus::NotReserved; in isReservedAtGlobalScope()
73 inline bool isReservedInAllContexts(ReservedIdentifierStatus Status) { in isReservedInAllContexts()
74 return Status != ReservedIdentifierStatus::NotReserved && in isReservedInAllContexts()
75 Status != ReservedIdentifierStatus::StartsWithUnderscoreAtGlobalScope && in isReservedInAllContexts()
76 Status != ReservedIdentifierStatus::StartsWithUnderscoreAndIsExternC; in isReservedInAllContexts()
544 ReservedIdentifierStatus isReserved(const LangOptions &LangOpts) const;
H A DDiagnosticSemaKinds.td430 "<ERROR>|" // ReservedIdentifierStatus::NotReserved
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DIdentifierTable.cpp368 ReservedIdentifierStatus
375 return ReservedIdentifierStatus::NotReserved; in isReserved()
383 return ReservedIdentifierStatus::StartsWithDoubleUnderscore; in isReserved()
386 return ReservedIdentifierStatus:: in isReserved()
391 return ReservedIdentifierStatus::StartsWithUnderscoreAtGlobalScope; in isReserved()
396 return ReservedIdentifierStatus::ContainsDoubleUnderscore; in isReserved()
398 return ReservedIdentifierStatus::NotReserved; in isReserved()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DDecl.cpp1125 ReservedIdentifierStatus
1132 return ReservedIdentifierStatus::NotReserved; in isReserved()
1134 ReservedIdentifierStatus Status = II->isReserved(LangOpts); in isReserved()
1139 return ReservedIdentifierStatus::NotReserved; in isReserved()
1153 return ReservedIdentifierStatus::StartsWithUnderscoreAndIsExternC; in isReserved()
1156 return ReservedIdentifierStatus::StartsWithUnderscoreAndIsExternC; in isReserved()
1157 return ReservedIdentifierStatus::NotReserved; in isReserved()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaModule.cpp237 ReservedIdentifierStatus::NotReserved) in DiagReservedModuleName()
H A DSemaStmt.cpp581 ReservedIdentifierStatus Status = TheDecl->isReserved(getLangOpts()); in ActOnLabelStmt()
H A DSemaCodeComplete.cpp774 ReservedIdentifierStatus Status = ND->isReserved(SemaRef.getLangOpts()); in shouldIgnoreDueToReservedName()
782 if (Status == ReservedIdentifierStatus::StartsWithDoubleUnderscore && in shouldIgnoreDueToReservedName()
H A DSemaExprCXX.cpp503 ReservedIdentifierStatus Status = II->isReserved(PP.getLangOpts()); in checkLiteralOperatorId()
H A DSemaDecl.cpp6025 ReservedIdentifierStatus Status = D->isReserved(getLangOpts()); in warnOnReservedIdentifier()
6026 if (Status != ReservedIdentifierStatus::NotReserved && in warnOnReservedIdentifier()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DDecl.h390 ReservedIdentifierStatus isReserved(const LangOptions &LangOpts) const;