malcolm.parsons added inline comments.
================ Comment at: include/clang/AST/TypeLoc.h:1355 + bool hasExceptionSpec() const { + if (auto FPT = dyn_cast<FunctionProtoType>(getTypePtr())) { + return FPT->hasExceptionSpec(); ---------------- `auto *` ================ Comment at: include/clang/AST/TypeLoc.h:1443 + if (hasExceptionSpec()) + setExceptionSpecRange(SourceRange(Loc)); } ---------------- `SourceRange`'s constructor from `SourceLocation` is implicit. https://reviews.llvm.org/D20428 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits