mirror of
https://github.com/intel/llvm.git
synced 2026-02-02 10:08:59 +08:00
21 lines
644 B
C++
21 lines
644 B
C++
//===--- 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);
|
|
}
|