diff options
Diffstat (limited to 'contrib/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h')
| -rw-r--r-- | contrib/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h | 9 | 
1 files changed, 7 insertions, 2 deletions
diff --git a/contrib/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h b/contrib/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h index 79870ed59c96..f9e284232972 100644 --- a/contrib/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h +++ b/contrib/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h @@ -116,6 +116,7 @@ enum TypeEvaluationKind {    SANITIZER_CHECK(DynamicTypeCacheMiss, dynamic_type_cache_miss, 0)            \    SANITIZER_CHECK(FloatCastOverflow, float_cast_overflow, 0)                   \    SANITIZER_CHECK(FunctionTypeMismatch, function_type_mismatch, 0)             \ +  SANITIZER_CHECK(ImplicitConversion, implicit_conversion, 0)                  \    SANITIZER_CHECK(InvalidBuiltin, invalid_builtin, 0)                          \    SANITIZER_CHECK(LoadInvalidValue, load_invalid_value, 0)                     \    SANITIZER_CHECK(MissingReturn, missing_return, 0)                            \ @@ -2490,13 +2491,15 @@ public:    void EmitCXXConstructorCall(const CXXConstructorDecl *D, CXXCtorType Type,                                bool ForVirtualBase, bool Delegating,                                Address This, const CXXConstructExpr *E, -                              AggValueSlot::Overlap_t Overlap); +                              AggValueSlot::Overlap_t Overlap, +                              bool NewPointerIsChecked);    void EmitCXXConstructorCall(const CXXConstructorDecl *D, CXXCtorType Type,                                bool ForVirtualBase, bool Delegating,                                Address This, CallArgList &Args,                                AggValueSlot::Overlap_t Overlap, -                              SourceLocation Loc); +                              SourceLocation Loc, +                              bool NewPointerIsChecked);    /// Emit assumption load for all bases. Requires to be be called only on    /// most-derived class and not under construction of the object. @@ -2513,12 +2516,14 @@ public:                                    const ArrayType *ArrayTy,                                    Address ArrayPtr,                                    const CXXConstructExpr *E, +                                  bool NewPointerIsChecked,                                    bool ZeroInitialization = false);    void EmitCXXAggrConstructorCall(const CXXConstructorDecl *D,                                    llvm::Value *NumElements,                                    Address ArrayPtr,                                    const CXXConstructExpr *E, +                                  bool NewPointerIsChecked,                                    bool ZeroInitialization = false);    static Destroyer destroyCXXObject;  | 
