[PATCH] D41217: [Concepts] Concept Specialization Expressions
Stephen Kelly via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon Aug 13 13:58:15 PDT 2018
steveire added inline comments.
================
Comment at: include/clang/AST/DeclTemplate.h:3063
SourceRange getSourceRange() const override LLVM_READONLY {
- return SourceRange(getLocation(), getLocation());
+ return SourceRange(getLocation(), getConstraintExpr()->getLocEnd());
}
----------------
`getLocEnd` is deprecated and will be removed soon. See http://clang-developers.42468.n3.nabble.com/API-Removal-Notice-4-weeks-getStartLoc-getLocStart-getLocEnd-td4061566.html
Repository:
rC Clang
https://reviews.llvm.org/D41217
More information about the cfe-commits
mailing list