Home
last modified time | relevance | path

Searched refs:FileContext (Results 1 – 5 of 5) sorted by relevance

/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Sema/
H A DDeclSpec.h1724 FileContext, // File scope declaration. enumerator
1940 case DeclaratorContext::FileContext: in mayOmitIdentifier()
1978 case DeclaratorContext::FileContext: in mayHaveIdentifier()
2014 case DeclaratorContext::FileContext: in mayHaveDecompositionDeclarator()
2062 Context != DeclaratorContext::FileContext) in mayBeFollowedByCXXDirectInit()
2070 case DeclaratorContext::FileContext: in mayBeFollowedByCXXDirectInit()
2296 case DeclaratorContext::FileContext: in isFunctionDeclarationContext()
2333 case DeclaratorContext::FileContext: in isExpressionContext()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/
H A DParser.cpp789 return ParseDeclaration(DeclaratorContext::FileContext, DeclEnd, attrs); in ParseExternalDeclaration()
799 return ParseDeclaration(DeclaratorContext::FileContext, DeclEnd, attrs); in ParseExternalDeclaration()
810 return ParseDeclaration(DeclaratorContext::FileContext, DeclEnd, attrs); in ParseExternalDeclaration()
819 return ParseDeclaration(DeclaratorContext::FileContext, DeclEnd, attrs); in ParseExternalDeclaration()
834 ParseExplicitInstantiation(DeclaratorContext::FileContext, ExternLoc, in ParseExternalDeclaration()
1011 Decl *TheDecl = ParseLinkage(DS, DeclaratorContext::FileContext); in ParseDeclOrFunctionDefInternal()
1015 return ParseDeclGroup(DS, DeclaratorContext::FileContext); in ParseDeclOrFunctionDefInternal()
H A DParseDecl.cpp1822 Context == DeclaratorContext::FileContext); in MightBeDeclarator()
1972 if (Context == DeclaratorContext::FileContext) { in ParseDeclGroup()
2094 ExpectAndConsumeSemi(Context == DeclaratorContext::FileContext in ParseDeclGroup()
2695 if (Context == DeclaratorContext::FileContext) in getDeclSpecContextFromDeclaratorContext()
5357 D.getContext() == DeclaratorContext::FileContext || in ParseDeclaratorInternal()
5581 D.getContext() == DeclaratorContext::FileContext || in ParseDirectDeclarator()
5645 (D.getContext() == DeclaratorContext::FileContext || in ParseDirectDeclarator()
5652 (D.getContext() == DeclaratorContext::FileContext || in ParseDirectDeclarator()
6155 : D.getContext() == DeclaratorContext::FileContext && in ParseFunctionDeclarator()
H A DParseTemplate.cpp245 if (Context != DeclaratorContext::FileContext) { in ParseSingleDeclarationAfterTemplate()
/freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/
H A DSemaType.cpp3004 case DeclaratorContext::FileContext: in GetDeclSpecTypeForDeclarator()
3103 case DeclaratorContext::FileContext: in GetDeclSpecTypeForDeclarator()
4099 case DeclaratorContext::FileContext: in GetFullTypeForDeclarator()
5124 case DeclaratorContext::FileContext: in GetFullTypeForDeclarator()
7281 } else if (D.getContext() == DeclaratorContext::FileContext) { in deduceOpenCLImplicitAddrSpace()