Home
last modified time | relevance | path

Searched refs:isFileScope (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DCheckExprLifetime.cpp622 if (!CLE->isFileScope()) in visitLocalsRetainedByReferenceBinding()
H A DSemaExpr.cpp7035 bool isFileScope = !CurContext->isFunctionOrMethod(); in BuildCompoundLiteralExpr() local
7056 (getLangOpts().CPlusPlus && !(isFileScope && literalType->isArrayType())) in BuildCompoundLiteralExpr()
7060 if (isFileScope) in BuildCompoundLiteralExpr()
7068 VK, LiteralExpr, isFileScope); in BuildCompoundLiteralExpr()
7069 if (isFileScope) { in BuildCompoundLiteralExpr()
7085 if (!isFileScope && !getLangOpts().CPlusPlus) { in BuildCompoundLiteralExpr()
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp951 assert(!E->isFileScope() && in tryEmitGlobalCompoundLiteral()
2480 assert(E->isFileScope() && "not a file-scope compound literal expr"); in GetAddrOfConstantCompoundLiteral()
H A DCGExpr.cpp5001 if (E->isFileScope()) { in EmitCompoundLiteralLValue()
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/PathSensitive/
H A DMemRegion.h920 bool isBoundable() const override { return !CL->isFileScope(); } in isBoundable()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DMemRegion.cpp1158 if (CL->isFileScope()) in getCompoundLiteralRegion()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DStmtProfile.cpp1475 ID.AddBoolean(S->isFileScope()); in VisitCompoundLiteralExpr()
H A DExprConstant.cpp2080 return CLE->isFileScope() && CLE->isLValue(); in IsGlobalLValue()
8789 assert((!Info.getLangOpts().CPlusPlus || E->isFileScope()) && in VisitCompoundLiteralExpr()
H A DASTImporter.cpp7608 ToInitializer, E->isFileScope()); in VisitCompoundLiteralExpr()
/freebsd/contrib/llvm-project/clang/lib/Serialization/
H A DASTWriterStmt.cpp1141 Record.push_back(E->isFileScope()); in VisitCompoundLiteralExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.cpp2315 if (E->isFileScope()) { in VisitCompoundLiteralExpr()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DExpr.h3455 bool isFileScope() const { return TInfoAndScope.getInt(); } in isFileScope() function