r347899 - NFC: Constify ShowColors
Stephen Kelly via cfe-commits
cfe-commits at lists.llvm.org
Thu Nov 29 11:30:08 PST 2018
Author: steveire
Date: Thu Nov 29 11:30:08 2018
New Revision: 347899
URL: http://llvm.org/viewvc/llvm-project?rev=347899&view=rev
Log:
NFC: Constify ShowColors
Modified:
cfe/trunk/lib/AST/ASTDumper.cpp
Modified: cfe/trunk/lib/AST/ASTDumper.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/AST/ASTDumper.cpp?rev=347899&r1=347898&r2=347899&view=diff
==============================================================================
--- cfe/trunk/lib/AST/ASTDumper.cpp (original)
+++ cfe/trunk/lib/AST/ASTDumper.cpp Thu Nov 29 11:30:08 2018
@@ -126,7 +126,7 @@ namespace {
/// The \c FullComment parent of the comment being dumped.
const FullComment *FC = nullptr;
- bool ShowColors;
+ const bool ShowColors;
/// Dump a child of the current node.
template<typename Fn> void dumpChild(Fn doDumpChild) {
More information about the cfe-commits
mailing list