aboutsummaryrefslogtreecommitdiff
path: root/gcc/d/expr.cc
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2020-06-16 15:57:58 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2020-06-16 23:37:55 +0200
commitcdbf48bed4e947f8d20c8c22d400fb52a407d46f (patch)
tree76431a84538bbe0a2df74dbbf18793343a3cf0c9 /gcc/d/expr.cc
parenta23b6d61bca7ee91e326264f2923a609908d1d04 (diff)
downloadgcc-cdbf48bed4e947f8d20c8c22d400fb52a407d46f.zip
gcc-cdbf48bed4e947f8d20c8c22d400fb52a407d46f.tar.gz
gcc-cdbf48bed4e947f8d20c8c22d400fb52a407d46f.tar.bz2
d: Consistently format quotations in comments.
gcc/d/ChangeLog: * d-builtins.cc: Update quotation formatting of comments. * d-codegen.cc: Likewise. * d-lang.cc: Likewise. * decl.cc: Likewise. * expr.cc: Likewise. * imports.cc: Likewise. * runtime.cc: Likewise. * toir.cc: Likewise. * typeinfo.cc: Likewise. * types.cc: Likewise.
Diffstat (limited to 'gcc/d/expr.cc')
-rw-r--r--gcc/d/expr.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/d/expr.cc b/gcc/d/expr.cc
index bf9bb45..e1842cc 100644
--- a/gcc/d/expr.cc
+++ b/gcc/d/expr.cc
@@ -1739,7 +1739,7 @@ public:
thisexp = TREE_OPERAND (thisexp, 1);
}
- /* Want reference to 'this' object. */
+ /* Want reference to `this' object. */
if (!POINTER_TYPE_P (TREE_TYPE (thisexp)))
thisexp = build_address (thisexp);
@@ -1770,7 +1770,7 @@ public:
{
/* This gets the true function type, getting the function type
from e1->type can sometimes be incorrect, such as when calling
- a 'ref' return function. */
+ a `ref' return function. */
tf = get_function_type (e1b->isDotVarExp ()->var->type);
}
else
@@ -1794,7 +1794,7 @@ public:
if (fd->isNested ())
{
- /* Maybe re-evaluate symbol storage treating 'fd' as public. */
+ /* Maybe re-evaluate symbol storage treating `fd' as public. */
if (call_by_alias_p (d_function_chain->function, fd))
TREE_PUBLIC (callee) = 1;
@@ -2099,7 +2099,7 @@ public:
{
Type *ftype = e->type->toBasetype ();
- /* This check is for lambda's, remove 'vthis' as function isn't nested. */
+ /* This check is for lambda's, remove `vthis' as function isn't nested. */
if (e->fd->tok == TOKreserved && ftype->ty == Tpointer)
{
e->fd->tok = TOKfunction;