forked from OSchip/llvm-project
Revert "Delete PrintingPolicy's copy constructor/operator."
My test that showed we don't copy it was wrong!
This reverts commit 68ef916659
.
This commit is contained in:
parent
68ef916659
commit
e7afaadd8b
|
@ -76,9 +76,6 @@ struct PrintingPolicy {
|
|||
SuppressImplicitBase(false), FullyQualifiedName(false),
|
||||
PrintCanonicalTypes(false), PrintInjectedClassNameWithArguments(true) {}
|
||||
|
||||
PrintingPolicy(const PrintingPolicy&) = delete;
|
||||
PrintingPolicy &operator=(const PrintingPolicy &) = delete;
|
||||
|
||||
/// Adjust this printing policy for cases where it's known that we're
|
||||
/// printing C++ code (for instance, if AST dumping reaches a C++-only
|
||||
/// construct). This should not be used if a real LangOptions object is
|
||||
|
|
Loading…
Reference in New Issue