HomePhabricator

clang-format: Don't format unrelated nested blocks.

Authored by djasper on Feb 29 2016, 4:26 AM.

Description

clang-format: Don't format unrelated nested blocks.

With this change:

SomeFunction(
    [] {

int i;

	 return i;  // Format this line.
      },
      [] {
	 return 2;  // Don't "fix" this.
      });

llvm-svn: 262216

Details

Committed
djasperFeb 29 2016, 4:26 AM
Parents
rG6bb15021b37c: [InstSimplify] Restore fsub 0.0, (fsub 0.0, X) ==> X optzn
Branches
Unknown
Tags
Unknown