#include "llvm/System/DataTypes.h"
-#include <string>
-
namespace clang {
/// CharUnits - This is an opaque type for sizes expressed in character units.
// Conversions.
- /// toString - Convert to a string.
- std::string toString() const;
-
/// getRaw - Get the raw integer representation of this quantity.
RawType getRaw() const { return Quantity; }
+++ /dev/null
-//===--- CharUnits.cpp - Character units for sizes and offsets ------------===//
-//
-// The LLVM Compiler Infrastructure
-//
-// This file is distributed under the University of Illinois Open Source
-// License. See LICENSE.TXT for details.
-//
-//===----------------------------------------------------------------------===//
-//
-// This file implements the CharUnits class.
-//
-//===----------------------------------------------------------------------===//
-
-#include "clang/AST/CharUnits.h"
-#include "llvm/ADT/StringExtras.h"
-using namespace clang;
-
-std::string CharUnits::toString() const {
- return llvm::itostr(Quantity);
-}