LLVM API Documentation

Functions
FormattedStream.cpp File Reference
#include "llvm/Support/Debug.h"
#include "llvm/Support/FormattedStream.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)

Function Documentation

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 23 of file FormattedStream.cpp.