summaryrefslogtreecommitdiff
path: root/lib/AST/DeclarationName.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2014-02-25 17:39:16 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2014-02-25 17:39:16 +0000
commit7f219f057550b8faff4092ba114ecd00a74a242c (patch)
tree032af9d605e483122d57802a57fcc80ac6ca6c42 /lib/AST/DeclarationName.cpp
parent098dc6b05480968774913a13cb891172d6da6e25 (diff)
downloadclang-7f219f057550b8faff4092ba114ecd00a74a242c.tar.gz
Revert "Pretty Printer: Fix printing of conversion operator decls and calls."
This reverts commit r202167. It broke Analysis/auto-obj-dtors-cfg-output.cpp git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@202173 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclarationName.cpp')
-rw-r--r--lib/AST/DeclarationName.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/AST/DeclarationName.cpp b/lib/AST/DeclarationName.cpp
index f9041c043c..e5019ab8d9 100644
--- a/lib/AST/DeclarationName.cpp
+++ b/lib/AST/DeclarationName.cpp
@@ -191,7 +191,6 @@ raw_ostream &operator<<(raw_ostream &OS, DeclarationName N) {
return OS << *Rec->getDecl();
LangOptions LO;
LO.CPlusPlus = true;
- LO.Bool = true;
return OS << Type.getAsString(PrintingPolicy(LO));
}
case DeclarationName::CXXUsingDirective:
@@ -547,7 +546,6 @@ void DeclarationNameInfo::printName(raw_ostream &OS) const {
OS << "operator ";
LangOptions LO;
LO.CPlusPlus = true;
- LO.Bool = true;
OS << TInfo->getType().getAsString(PrintingPolicy(LO));
} else
OS << Name;