Skip to content
This repository was archived by the owner on May 28, 2025. It is now read-only.

Commit e7afaad

Browse files
author
Erich Keane
committed
Revert "Delete PrintingPolicy's copy constructor/operator."
My test that showed we don't copy it was wrong! This reverts commit 68ef916.
1 parent 68ef916 commit e7afaad

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

clang/include/clang/AST/PrettyPrinter.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,6 @@ struct PrintingPolicy {
7676
SuppressImplicitBase(false), FullyQualifiedName(false),
7777
PrintCanonicalTypes(false), PrintInjectedClassNameWithArguments(true) {}
7878

79-
PrintingPolicy(const PrintingPolicy&) = delete;
80-
PrintingPolicy &operator=(const PrintingPolicy &) = delete;
81-
8279
/// Adjust this printing policy for cases where it's known that we're
8380
/// printing C++ code (for instance, if AST dumping reaches a C++-only
8481
/// construct). This should not be used if a real LangOptions object is

0 commit comments

Comments
 (0)