NestedNameSpecifier.cpp (193326) | NestedNameSpecifier.cpp (195341) |
---|---|
1//===--- NestedNameSpecifier.cpp - C++ nested name specifiers -----*- C++ -*-=// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 139 unchanged lines hidden (view full) --- 148 OS << "::"; 149} 150 151void NestedNameSpecifier::Destroy(ASTContext &Context) { 152 this->~NestedNameSpecifier(); 153 Context.Deallocate((void *)this); 154} 155 | 1//===--- NestedNameSpecifier.cpp - C++ nested name specifiers -----*- C++ -*-=// 2// 3// The LLVM Compiler Infrastructure 4// 5// This file is distributed under the University of Illinois Open Source 6// License. See LICENSE.TXT for details. 7// 8//===----------------------------------------------------------------------===// --- 139 unchanged lines hidden (view full) --- 148 OS << "::"; 149} 150 151void NestedNameSpecifier::Destroy(ASTContext &Context) { 152 this->~NestedNameSpecifier(); 153 Context.Deallocate((void *)this); 154} 155 |
156void NestedNameSpecifier::dump() { 157 PrintingPolicy Policy; 158 Policy.CPlusPlus = true; 159 print(llvm::errs(), Policy); | 156void NestedNameSpecifier::dump(const LangOptions &LO) { 157 print(llvm::errs(), PrintingPolicy(LO)); |
160} | 158} |