mikael marked an inline comment as done.
mikael added inline comments.
================
Comment at: lib/Sema/SemaType.cpp:5169
+TypeSourceInfo *Sema::GetTypeForDeclarator(Declarator &D, Scope *S,
+ const DeclContext *DC) {
// Determine the type of the declarator. Not all forms of declarator
----------------
Anastasia wrote:
> Rather than passing `DeclContext` you can get it from the `Declarator` using
> `getContext()` method.
Declarator::getContext() returns an enumeration DeclaratorContext which is not
enough in this case.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D54862/new/
https://reviews.llvm.org/D54862
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits