/// constructor.
bool isConstructorInitialization() const;
- /// Returns whether the last step in this initialization sequence is a
- /// narrowing conversion, defined by C++0x [dcl.init.list]p7.
- ///
- /// If this function returns true, *isInitializerConstant will be set to
- /// describe whether *Initializer was a constant expression. If
- /// *isInitializerConstant is set to true, *ConstantValue will be set to the
- /// evaluated value of *Initializer.
- bool endsWithNarrowing(ASTContext &Ctx, const Expr *Initializer,
- bool *isInitializerConstant,
- APValue *ConstantValue) const;
-
/// Add a new step in the initialization that resolves the address
/// of an overloaded function to a specific function declaration.
///
/// from a zero constant.
void AddOCLZeroOpaqueTypeStep(QualType T);
- /// Add a step to initialize by zero types defined in the
- /// cl_intel_device_side_avc_motion_estimation OpenCL extension
- void AddOCLIntelSubgroupAVCZeroInitStep(QualType T);
-
/// Add steps to unwrap a initializer list for a reference around a
/// single element and rewrap it at the end.
void RewrapReferenceInitList(QualType T, InitListExpr *Syntactic);
std::string SectionName;
bool Valid = false;
SourceLocation PragmaLocation;
-
- void Act(SourceLocation PragmaLocation,
- PragmaClangSectionAction Action,
- StringLiteral* Name);
- };
+ };
PragmaClangSection PragmaClangBSSSection;
PragmaClangSection PragmaClangDataSection;
}
};
- /// Determine what sort of exception specification a defaulted
- /// copy constructor of a class will have.
- ImplicitExceptionSpecification
- ComputeDefaultedDefaultCtorExceptionSpec(SourceLocation Loc,
- CXXMethodDecl *MD);
-
- /// Determine what sort of exception specification a defaulted
- /// default constructor of a class will have, and whether the parameter
- /// will be const.
- ImplicitExceptionSpecification
- ComputeDefaultedCopyCtorExceptionSpec(CXXMethodDecl *MD);
-
- /// Determine what sort of exception specification a defaulted
- /// copy assignment operator of a class will have, and whether the
- /// parameter will be const.
- ImplicitExceptionSpecification
- ComputeDefaultedCopyAssignmentExceptionSpec(CXXMethodDecl *MD);
-
- /// Determine what sort of exception specification a defaulted move
- /// constructor of a class will have.
- ImplicitExceptionSpecification
- ComputeDefaultedMoveCtorExceptionSpec(CXXMethodDecl *MD);
-
- /// Determine what sort of exception specification a defaulted move
- /// assignment operator of a class will have.
- ImplicitExceptionSpecification
- ComputeDefaultedMoveAssignmentExceptionSpec(CXXMethodDecl *MD);
-
- /// Determine what sort of exception specification a defaulted
- /// destructor of a class will have.
- ImplicitExceptionSpecification
- ComputeDefaultedDtorExceptionSpec(CXXMethodDecl *MD);
-
- /// Determine what sort of exception specification an inheriting
- /// constructor of a class will have.
- ImplicitExceptionSpecification
- ComputeInheritingCtorExceptionSpec(SourceLocation Loc,
- CXXConstructorDecl *CD);
-
/// Evaluate the implicit exception specification for a defaulted
/// special member function.
void EvaluateImplicitExceptionSpec(SourceLocation Loc, FunctionDecl *FD);
DiagnoseUnsatisfiedConstraint(const ASTConstraintSatisfaction &Satisfaction,
bool First = true);
- /// \brief Emit diagnostics explaining why a constraint expression was deemed
- /// unsatisfied because it was ill-formed.
- void DiagnoseUnsatisfiedIllFormedConstraint(SourceLocation DiagnosticLocation,
- StringRef Diagnostic);
-
- void DiagnoseRedeclarationConstraintMismatch(SourceLocation Old,
- SourceLocation New);
-
// ParseObjCStringLiteral - Parse Objective-C string literals.
ExprResult ParseObjCStringLiteral(SourceLocation *AtLocs,
ArrayRef<Expr *> Strings);
/// AddMsStructLayoutForRecord - Adds ms_struct layout attribute to record.
void AddMsStructLayoutForRecord(RecordDecl *RD);
- /// FreePackedContext - Deallocate and null out PackContext.
- void FreePackedContext();
-
/// PushNamespaceVisibilityAttr - Note that we've entered a
/// namespace with a visibility attribute.
void PushNamespaceVisibilityAttr(const VisibilityAttr *Attr,