clang API Documentation
#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"
Go to the source code of this file.
Functions | |
| static StringRef | DetectEOL (const MemoryBuffer &FromFile) |
| 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.