forked from OSchip/llvm-project
Fix very confusing indent in Sema.cpp.
This came up during my Euro LLVM 2013 talk on clang-format and I was asked to submit it :-). llvm-svn: 180772
This commit is contained in:
parent
d48b91dbbe
commit
9ba6f9bcc5
|
@ -590,12 +590,11 @@ void Sema::ActOnEndOfTranslationUnit() {
|
|||
}
|
||||
|
||||
// Remove file scoped decls that turned out to be used.
|
||||
UnusedFileScopedDecls.erase(std::remove_if(UnusedFileScopedDecls.begin(0,
|
||||
true),
|
||||
UnusedFileScopedDecls.end(),
|
||||
std::bind1st(std::ptr_fun(ShouldRemoveFromUnused),
|
||||
this)),
|
||||
UnusedFileScopedDecls.end());
|
||||
UnusedFileScopedDecls.erase(
|
||||
std::remove_if(UnusedFileScopedDecls.begin(0, true),
|
||||
UnusedFileScopedDecls.end(),
|
||||
std::bind1st(std::ptr_fun(ShouldRemoveFromUnused), this)),
|
||||
UnusedFileScopedDecls.end());
|
||||
|
||||
if (TUKind == TU_Prefix) {
|
||||
// Translation unit prefixes don't need any of the checking below.
|
||||
|
|
Loading…
Reference in New Issue