LLVM  6.0.0svn
Functions
FormattedStream.cpp File Reference
#include "llvm/Support/FormattedStream.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/raw_ostream.h"
#include <algorithm>
Include dependency graph for FormattedStream.cpp:

Go to the source code of this file.

Functions

static void UpdatePosition (std::pair< unsigned, unsigned > &Position, const char *Ptr, size_t Size)
 UpdatePosition - Examine the given char sequence and figure out which column we end up in after output, and how many line breaks are contained. More...
 

Function Documentation

◆ UpdatePosition()

static void UpdatePosition ( std::pair< unsigned, unsigned > &  Position,
const char Ptr,
size_t  Size 
)
static

UpdatePosition - Examine the given char sequence and figure out which column we end up in after output, and how many line breaks are contained.

Definition at line 24 of file FormattedStream.cpp.

References llvm::WebAssembly::End, LLVM_FALLTHROUGH, and llvm::AMDGPU::HSAMD::Kernel::Arg::Key::Size.