diff options
author | Douglas Gregor <dgregor@apple.com> | 2011-09-27 23:30:47 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2011-09-27 23:30:47 +0000 |
commit | 8987b2385d9ba63ada66e1344ace79b04d5cb5c3 (patch) | |
tree | 66bd71ca88b1a6462b50f7bf3694eed9fc620677 /lib/AST/ASTContext.cpp | |
parent | ed73b1046d1f30d64b47baaaeaaeffa6ef0dde91 (diff) |
Only print _Bool as 'bool' when 'bool' is defined as an object-like
macro whose only replacement token is '_Bool'.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@140656 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/ASTContext.cpp')
-rw-r--r-- | lib/AST/ASTContext.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/AST/ASTContext.cpp b/lib/AST/ASTContext.cpp index 9a9c95aa2d..98ce45f452 100644 --- a/lib/AST/ASTContext.cpp +++ b/lib/AST/ASTContext.cpp @@ -6475,12 +6475,6 @@ MangleContext *ASTContext::createMangleContext() { CXXABI::~CXXABI() {} -PrintingPolicy ASTContext::getPrintingPolicy() const { - PrintingPolicy.Bool - = LangOpts.Bool || Idents.get("bool").hasMacroDefinition(); - return PrintingPolicy; -} - size_t ASTContext::getSideTableAllocatedMemory() const { return ASTRecordLayouts.getMemorySize() + llvm::capacity_in_bytes(ObjCLayouts) |