[all-commits] [llvm/llvm-project] 002e07: [clang] [ast] CXXRecordDecl::getVisibleConversionF...
Whisperity via All-commits
all-commits at lists.llvm.org
Tue Dec 24 02:11:10 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 002e07208a67351f75e306fdc025661e451df03c
https://github.com/llvm/llvm-project/commit/002e07208a67351f75e306fdc025661e451df03c
Author: Whisperity <whisperity at gmail.com>
Date: 2019-12-24 (Tue, 24 Dec 2019)
Changed paths:
M clang/include/clang/AST/DeclCXX.h
M clang/lib/AST/DeclCXX.cpp
Log Message:
-----------
[clang] [ast] CXXRecordDecl::getVisibleConversionFunctions() could be const
The function and its called static helpers don't modify the received
CXXRecordDecl arguments at all as the method's result is put into an
output parameter. Thus they can be const which allows for neatly
grabbing the conversion methods in a context where we only have a const
ASTUnit at hand.
Differential Revision: https://reviews.llvm.org/D71805
More information about the All-commits
mailing list