search for: isconstqualifi

Displaying 2 results from an estimated 2 matches for "isconstqualifi".

Did you mean: isconstqualified
2016 Sep 21
4
Creating a clang-tidy const position check
...und reasonable? There's also Qualifiers::removeConst and Qualifiers::addConst, but I'm not sure how it affects the position of const. I have trouble with finding all const-qualified types. I looked at misc-misplaced-const for inspiration, which contains this matcher: valueDecl(hasType(isConstQualified())) Why doesn't this yield a match? My test code has this form: template <class T> struct type {}; template <class T> void f(const type<const double>&, const T&) { } using alias = const int&; I've tested this expression with clang...
2018 Apr 27
1
TBAA metadata
...uint64_t Offset, bool IsConstant = false); So my questions are: - Is there any reason IsConstant is never set ? - Would it be valid to set this information according to the const-qualifier of the data accessed, maybe by getting it from QualType::isConstQualified()somehow ? Thanks, Marianne -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20180427/c2e836f5/attachment.html>