clang API Documentation

Functions
InclusionRewriter.cpp File Reference
#include "clang/Rewrite/Frontend/Rewriters.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Frontend/PreprocessorOutputOptions.h"
#include "clang/Lex/HeaderSearch.h"
#include "clang/Lex/Pragma.h"
#include "clang/Lex/Preprocessor.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/Support/raw_ostream.h"
Include dependency graph for InclusionRewriter.cpp:

Go to the source code of this file.

Functions

static StringRef DetectEOL (const MemoryBuffer &FromFile)

Function Documentation

static StringRef DetectEOL ( const MemoryBuffer &  FromFile) [static]

Detect the likely line ending style of FromFile by examining the first newline found within it.

Definition at line 200 of file InclusionRewriter.cpp.