reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/lib/Sema/SemaExpr.cpp
15356 static OdrUseContext isOdrUseContext(Sema &SemaRef) {
15357   OdrUseContext Result;
15363       return OdrUseContext::None;
15367       Result = OdrUseContext::Used;
15371       Result = OdrUseContext::FormallyOdrUsed;
15377       Result = OdrUseContext::FormallyOdrUsed;
15382     return OdrUseContext::Dependent;
15412   OdrUseContext OdrUse =
15413       MightBeOdrUse ? isOdrUseContext(*this) : OdrUseContext::None;
15414   if (IsRecursiveCall && OdrUse == OdrUseContext::Used)
15415     OdrUse = OdrUseContext::FormallyOdrUsed;
15420       OdrUse == OdrUseContext::Used) {
15423         OdrUse = OdrUseContext::FormallyOdrUsed;
15425       OdrUse = OdrUseContext::FormallyOdrUsed;
15457   bool NeedDefinition = !IsRecursiveCall && (OdrUse == OdrUseContext::Used ||
15586   if (OdrUse == OdrUseContext::Used && !Func->isUsed(/*CheckUsedAttr=*/false)) {
16699   OdrUseContext OdrUse = isOdrUseContext(SemaRef);
16712       OdrUse == OdrUseContext::Used || NeededForConstantEvaluation;
16805   case OdrUseContext::None:
16810   case OdrUseContext::FormallyOdrUsed:
16815   case OdrUseContext::Used:
16824   case OdrUseContext::Dependent: