OpenGrok
Home
Sort by:
relevance
|
last modified time
|
path
Full Search
in project(s):
src
xsrc
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:SemaRef
(Results
1 - 14
of
14
) sorted by relevancy
/src/external/apache2/llvm/dist/clang/lib/ARCMigrate/
Internals.h
151
Sema &
SemaRef
;
162
SemaRef
(sema), TA(TA), CapturedDiags(capturedDiags),
/src/external/apache2/llvm/dist/clang/include/clang/Sema/
Template.h
278
Sema &
SemaRef
;
333
LocalInstantiationScope(Sema &
SemaRef
, bool CombineWithOuterScope = false)
334
:
SemaRef
(
SemaRef
), Outer(
SemaRef
.CurrentInstantiationScope),
336
SemaRef
.CurrentInstantiationScope = this;
347
const Sema &getSema() const { return
SemaRef
; }
357
SemaRef
.CurrentInstantiationScope = Outer;
366
// Save the current scope from
SemaRef
since the LocalInstantiationScope
368
LocalInstantiationScope *oldScope =
SemaRef
.CurrentInstantiationScope
[
all
...]
SemaInternal.h
91
TypoCorrectionConsumer(Sema &
SemaRef
,
99
SavedTCIndex(0),
SemaRef
(
SemaRef
), S(S),
102
Result(
SemaRef
, TypoName, LookupKind),
103
Namespaces(
SemaRef
.Context,
SemaRef
.CurContext, SS),
201
ASTContext &getContext() const { return
SemaRef
.Context; }
309
Sema &
SemaRef
;
Sema.h
1575
Sema &
SemaRef
;
1579
ImmediateDiagBuilder(DiagnosticBuilder &DB, Sema &
SemaRef
, unsigned DiagID)
1580
: DiagnosticBuilder(DB),
SemaRef
(
SemaRef
), DiagID(DiagID) {}
1581
ImmediateDiagBuilder(DiagnosticBuilder &&DB, Sema &
SemaRef
, unsigned DiagID)
1582
: DiagnosticBuilder(DB),
SemaRef
(
SemaRef
), DiagID(DiagID) {}
1607
SemaRef
.EmitCurrentDiagnostic(DiagID);
8822
InstantiatingTemplate(Sema &
SemaRef
, SourceLocation PointOfInstantiation,
8829
InstantiatingTemplate(Sema &
SemaRef
, SourceLocation PointOfInstantiation
[
all
...]
/src/external/apache2/llvm/dist/clang/lib/Sema/
SemaOpenMP.cpp
50
Sema &
SemaRef
, Expr *E,
212
Sema &
SemaRef
;
315
explicit DSAStackTy(Sema &S) :
SemaRef
(S) {}
445
const FunctionScopeInfo *CurFnScope =
SemaRef
.getCurFunction();
458
for (const FunctionScopeInfo *FSI : llvm::reverse(
SemaRef
.FunctionScopes)) {
654
SemaRef
.Diag(CNew->getBeginLoc(),
657
SemaRef
.Diag(CPrev->getBeginLoc(),
1395
static VarDecl *buildVarDecl(Sema &
SemaRef
, SourceLocation Loc, QualType Type,
1398
DeclContext *DC =
SemaRef
.CurContext;
1399
IdentifierInfo *II = &
SemaRef
.PP.getIdentifierTable().get(Name)
[
all
...]
SemaAvailability.cpp
652
Sema &
SemaRef
;
663
DiagnoseUnguardedAvailability(Sema &
SemaRef
, Decl *Ctx)
664
:
SemaRef
(
SemaRef
), Ctx(Ctx) {
666
SemaRef
.Context.getTargetInfo().getPlatformMinVersion());
727
SemaRef
.Diag(E->getBeginLoc(), diag::warn_at_available_unchecked_use)
728
<< (!
SemaRef
.getLangOpts().ObjC);
740
ShouldDiagnoseAvailabilityOfDecl(
SemaRef
, D, nullptr, ReceiverClass);
748
getAttrForPlatform(
SemaRef
.getASTContext(), OffendingDecl);
756
if (!ShouldDiagnoseAvailabilityInContext(
SemaRef
, Result, Introduced, Ctx
[
all
...]
SemaExprMember.cpp
32
static bool isProvablyNotDerivedFrom(Sema &
SemaRef
, CXXRecordDecl *Record,
88
static IMAKind ClassifyImplicitMemberAccess(Sema &
SemaRef
,
92
DeclContext *DC =
SemaRef
.getFunctionLevelDeclContext();
94
bool isStaticContext =
SemaRef
.CXXThisTypeOverride.isNull() &&
134
switch (
SemaRef
.ExprEvalContexts.back().Context) {
137
if (isField &&
SemaRef
.getLangOpts().CPlusPlus11)
187
if (isProvablyNotDerivedFrom(
SemaRef
, contextClass, Classes))
196
static void diagnoseInstanceReference(Sema &
SemaRef
,
207
DeclContext *FunctionLevelDC =
SemaRef
.getFunctionLevelDeclContext();
217
SemaRef
.Diag(Loc, diag::err_invalid_member_use_in_static_method
[
all
...]
SemaInit.cpp
286
Sema &
SemaRef
;
296
DummyExpr = new (
SemaRef
.Context) NoInitExpr(
SemaRef
.Context.VoidTy);
388
unsigned DiagID =
SemaRef
.getLangOpts().CPlusPlus
392
if (InOverloadResolution &&
SemaRef
.getLangOpts().CPlusPlus) {
432
SemaRef
.Diag(NewInitRange.getBegin(), DiagID)
434
SemaRef
.Diag(OldInit->getBeginLoc(), diag::note_previous_initializer)
435
<< (OldInit->HasSideEffects(
SemaRef
.Context) && FullyOverwritten)
496
InitListExpr DummyInitList(
SemaRef
.Context, Loc, None, Loc);
502
bool EmptyInitList =
SemaRef
.getLangOpts().CPlusPlus11 &
[
all
...]
SemaLookup.cpp
93
Sema &
SemaRef
;
101
UnqualUsingDirectiveSet(Sema &
SemaRef
) :
SemaRef
(
SemaRef
) {}
120
if (
SemaRef
.isVisible(I))
160
if (
SemaRef
.isVisible(UD) && visited.insert(NS).second) {
1678
bool LookupResult::isVisibleSlow(Sema &
SemaRef
, NamedDecl *D) {
1682
Module *DeclModule =
SemaRef
.getOwningModule(D);
1686
if (
SemaRef
.isModuleVisible(DeclModule, D->isModulePrivate()))
1719
VisibleWithinParent =
SemaRef
.hasVisibleDefinition(cast<NamedDecl>(DC))
[
all
...]
SemaStmt.cpp
850
Sema &
SemaRef
;
852
CommaVisitor(Sema &
SemaRef
) : Inherited(
SemaRef
.Context),
SemaRef
(
SemaRef
) {}
855
SemaRef
.DiagnoseCommaOperator(E->getLHS(), E->getExprLoc());
2327
static bool FinishForRangeVarDecl(Sema &
SemaRef
, VarDecl *Decl, Expr *Init,
2330
ExprResult Res =
SemaRef
.CorrectDelayedTyposInExpr(Init);
2342
SemaRef
.DeduceAutoType(Decl->getTypeSourceInfo(), Init, InitType) ==
2344
SemaRef
.Diag(Loc, DiagID) << Init->getType()
[
all
...]
SemaCodeComplete.cpp
153
Sema &
SemaRef
;
208
explicit ResultBuilder(Sema &
SemaRef
, CodeCompletionAllocator &Allocator,
212
:
SemaRef
(
SemaRef
), Allocator(Allocator), CCTUInfo(CCTUInfo),
224
if (ObjCMethodDecl *Method =
SemaRef
.getCurMethodDecl())
241
return
SemaRef
.CodeCompleter &&
242
SemaRef
.CodeCompleter->includeCodePatterns();
254
PreferredType =
SemaRef
.Context.getCanonicalType(T);
290
Sema &getSema() const { return
SemaRef
; }
741
static bool shouldIgnoreDueToReservedName(const NamedDecl *ND, Sema &
SemaRef
) {
[
all
...]
SemaTemplate.cpp
918
static TemplateArgumentLoc translateTemplateArgument(Sema &
SemaRef
,
924
QualType T =
SemaRef
.GetTypeFromParser(Arg.getAsType(), &DI);
926
DI =
SemaRef
.Context.getTrivialTypeSourceInfo(T, Arg.getLocation());
943
SemaRef
.Context, TArg,
944
Arg.getScopeSpec().getWithLocInContext(
SemaRef
.Context),
961
static void maybeDiagnoseTemplateParameterShadow(Sema &
SemaRef
, Scope *S,
964
NamedDecl *PrevDecl =
SemaRef
.LookupSingleName(
967
SemaRef
.DiagnoseTemplateParameterShadow(Loc, PrevDecl);
2092
Sema &
SemaRef
,
2094
: Base(
SemaRef
), MaterializedTypedefs(MaterializedTypedefs) {
[
all
...]
SemaType.cpp
3290
Sema &
SemaRef
= state.getSema();
3318
T =
SemaRef
.Context.VoidTy;
3326
T =
SemaRef
.Context.DependentTy;
3332
T =
SemaRef
.GetTypeFromParser(D.getName().ConversionFunctionId,
3346
QualType T =
SemaRef
.GetTypeFromParser(D.getTrailingReturnType());
3379
if (!
SemaRef
.getLangOpts().CPlusPlus20 || !Auto ||
3383
} else if (!
SemaRef
.getCurScope()->isFunctionDeclarationScope()) {
3388
Info = &
SemaRef
.InventedParameterInfos.back();
3391
if (!
SemaRef
.getLangOpts().CPlusPlus14 || !Auto ||
3396
Info =
SemaRef
.getCurLambda()
[
all
...]
TreeTransform.h
120
Sema &
SemaRef
;
129
TreeTransform(Sema &
SemaRef
) :
SemaRef
(
SemaRef
) { }
144
Sema &getSema() const { return
SemaRef
; }
155
bool AlwaysRebuild() { return
SemaRef
.ArgumentPackSubstitutionIndex != -1; }
630
return
SemaRef
.Context.getTrivialTypeSourceInfo(T,
938
return
SemaRef
.Context.getTypeDeclType(Typedef);
944
return
SemaRef
.Context.getMacroQualifiedType(T, MacroII);
949
return
SemaRef
.Context.getTypeDeclType(Record)
[
all
...]
Completed in 95 milliseconds
Indexes created Tue Jun 09 00:24:00 UTC 2026