Remove superseeded option.

The -invert-pointer-binding option will be superseeded by my next
cfe-commit. Instead of explicitly overwriting this flag, clang-format
can then be configured to auto-detect certain style-options based on the
input file.

llvm-svn: 174503
This commit is contained in:
Daniel Jasper 2013-02-06 14:22:17 +00:00
parent 5e5e1c3b80
commit d1a6659263
1 changed files with 0 additions and 9 deletions

View File

@ -41,11 +41,6 @@ static cl::opt<bool> Inplace("i",
static cl::opt<bool> OutputXML(
"output-replacements-xml", cl::desc("Output replacements as XML."));
// FIXME: Remove this when styles are configurable through files.
static cl::opt<bool> InvertPointerBinding(
"invert-pointer-binding", cl::desc("Inverts the side to which */& bind"),
cl::init(false));
static cl::opt<std::string> FileName(cl::Positional, cl::desc("[<file>]"),
cl::init("-"));
@ -67,10 +62,6 @@ static FormatStyle getStyle() {
TheStyle = getLLVMStyle();
if (Style == "Chromium")
TheStyle = getChromiumStyle();
if (InvertPointerBinding) {
TheStyle.PointerAndReferenceBindToType =
!TheStyle.PointerAndReferenceBindToType;
}
return TheStyle;
}