aaron.ballman added inline comments.
Comment at: include/clang/Basic/Attr.td:182
+ // it would always be false.
+ string DisallowImplicitThisParamName = disallowImplicitThisParamName;
+}
jdenny wrote:
> aaron.ballman wrote:
> > jdenny wrote:
> > > aaron.ballman
jdenny added inline comments.
Comment at: include/clang/Basic/Attr.td:182
+ // it would always be false.
+ string DisallowImplicitThisParamName = disallowImplicitThisParamName;
+}
aaron.ballman wrote:
> jdenny wrote:
> > aaron.ballman wrote:
> > > jdenny wrote:
aaron.ballman added inline comments.
Comment at: include/clang/Basic/Attr.td:182
+ // it would always be false.
+ string DisallowImplicitThisParamName = disallowImplicitThisParamName;
+}
jdenny wrote:
> aaron.ballman wrote:
> > jdenny wrote:
> > > jdenny wrote:
jdenny added inline comments.
Comment at: include/clang/Basic/Attr.td:182
+ // it would always be false.
+ string DisallowImplicitThisParamName = disallowImplicitThisParamName;
+}
aaron.ballman wrote:
> jdenny wrote:
> > jdenny wrote:
> > > aaron.ballman wrote:
aaron.ballman added inline comments.
Comment at: include/clang/Basic/Attr.td:182
+ // it would always be false.
+ string DisallowImplicitThisParamName = disallowImplicitThisParamName;
+}
jdenny wrote:
> jdenny wrote:
> > aaron.ballman wrote:
> > > Is there much
jdenny marked 3 inline comments as done.
jdenny added a comment.
Comment at: include/clang/Basic/Attr.td:182
+ // it would always be false.
+ string DisallowImplicitThisParamName = disallowImplicitThisParamName;
+}
jdenny wrote:
> aaron.ballman wrote:
> > Is
aaron.ballman added inline comments.
Comment at: lib/Sema/SemaDeclAttr.cpp:355-357
}
+ else if (DisallowImplicitThisParam)
+*DisallowImplicitThisParam = false;
jdenny wrote:
> aaron.ballman wrote:
> > Formatting is off here -- the `else if` should go up a
jdenny added inline comments.
Comment at: include/clang/Basic/Attr.td:182
+ // it would always be false.
+ string DisallowImplicitThisParamName = disallowImplicitThisParamName;
+}
aaron.ballman wrote:
> Is there much benefit to forcing the attribute author to p
aaron.ballman added inline comments.
Comment at: include/clang/Basic/Attr.td:182
+ // it would always be false.
+ string DisallowImplicitThisParamName = disallowImplicitThisParamName;
+}
Is there much benefit to forcing the attribute author to pick a name for t
jdenny created this revision.
jdenny added reviewers: aaron.ballman, hfinkel.
Parameter indices in some attributes (argument_with_type_tag,
pointer_with_type_tag, nonnull, ownership_takes, ownership_holds, and
ownership_returns) are specified in source as one-origin including any
this parameter,
10 matches
Mail list logo