diff options
author | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-06-16 16:23:44 +0200 |
---|---|---|
committer | Iain Buclaw <ibuclaw@gdcproject.org> | 2020-06-16 23:39:23 +0200 |
commit | af3c19f0a5072199f70571a30271a0ee9a4ae5ce (patch) | |
tree | 0725a38c694476f76a353be38e0f44857e85ca91 /gcc/d/decl.cc | |
parent | cdbf48bed4e947f8d20c8c22d400fb52a407d46f (diff) | |
download | gcc-af3c19f0a5072199f70571a30271a0ee9a4ae5ce.zip gcc-af3c19f0a5072199f70571a30271a0ee9a4ae5ce.tar.gz gcc-af3c19f0a5072199f70571a30271a0ee9a4ae5ce.tar.bz2 |
d: Update code formatting in a consistent style.
gcc/d/ChangeLog:
* d-attribs.cc: Update code formatting in a consistant style.
* d-builtins.cc: Likewise.
* d-codegen.cc: Likewise.
* d-compiler.cc: Likewise.
* d-convert.cc: Likewise.
* d-diagnostic.cc: Likewise.
* d-frontend.cc: Likewise.
* d-lang.cc: Likewise.
* d-longdouble.cc: Likewise.
* d-port.cc: Likewise.
* d-spec.cc: Likewise.
* d-tree.h: Likewise.
* decl.cc: Likewise.
* expr.cc: Likewise.
* longdouble.h: Likewise.
* modules.cc: Likewise.
* toir.cc: Likewise.
* typeinfo.cc: Likewise.
Diffstat (limited to 'gcc/d/decl.cc')
-rw-r--r-- | gcc/d/decl.cc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/d/decl.cc b/gcc/d/decl.cc index f43b334..ea6614f 100644 --- a/gcc/d/decl.cc +++ b/gcc/d/decl.cc @@ -63,7 +63,7 @@ const char * d_mangle_decl (Dsymbol *decl) { if (decl->isFuncDeclaration ()) - return mangleExact ((FuncDeclaration *)decl); + return mangleExact ((FuncDeclaration *) decl); else { OutBuffer buf; @@ -511,7 +511,7 @@ public: d_finish_decl (d->csym); /* Put out the vtbl[]. */ - vec<constructor_elt, va_gc> *elms = NULL; + vec <constructor_elt, va_gc> *elms = NULL; /* First entry is ClassInfo reference. */ if (d->vtblOffset ()) @@ -521,7 +521,7 @@ public: { FuncDeclaration *fd = d->vtbl[i]->isFuncDeclaration (); - if (fd && (fd->fbody || !d->isAbstract())) + if (fd && (fd->fbody || !d->isAbstract ())) { CONSTRUCTOR_APPEND_ELT (elms, size_int (i), build_address (get_symbol_decl (fd))); @@ -1897,7 +1897,7 @@ start_function (FuncDeclaration *fd) else cfun->function_end_locus = DECL_SOURCE_LOCATION (fndecl); - cfun->language = ggc_cleared_alloc<language_function> (); + cfun->language = ggc_cleared_alloc <language_function> (); cfun->language->function = fd; /* Default chain value is `null' unless parent found. */ @@ -2097,7 +2097,7 @@ build_class_instance (ClassReferenceExp *exp) { ClassDeclaration *cd = exp->originalClass (); tree type = TREE_TYPE (build_ctype (exp->value->stype)); - vec<constructor_elt, va_gc> *ve = NULL; + vec <constructor_elt, va_gc> *ve = NULL; /* The set base vtable field. */ tree vptr = build_address (get_vtable_decl (cd)); |