[PATCH] D123926: [clang] Add a raw_ostream operator<< overload for QualType
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 20 10:33:50 PDT 2022
njames93 marked 2 inline comments as done.
njames93 added inline comments.
================
Comment at: clang/include/clang/AST/Type.h:1319
+llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const clang::QualType &QT);
+
----------------
aaron.ballman wrote:
> Cleaning up the declaration a bit, but the important change is not making `QT` a const ref (the type is small and meant to be passed by value cheaply).
I knew it needed cleaning, Just had issues with the declaration not matching the definition so added all qualifiers.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D123926/new/
https://reviews.llvm.org/D123926
More information about the cfe-commits
mailing list