Commit History

Author SHA1 Message Date
  Daniel Jasper e12937859f clang-format: Correctly calculate affected ranges when sorting #includes. 9 years ago
  Eric Liu 832dfc2ae9 Make clang-format remove duplicate headers when sorting #includes. 9 years ago
  Eric Liu a45abc6b0f Make tooling::applyAllReplacements return llvm::Expected<string> instead of empty string to indicate potential error. 9 years ago
  Daniel Jasper 5b12ee708d clang-format: Make include sorting's main include detection configurable. 9 years ago
  Daniel Jasper df46d8aa75 clang-format: Use stable_sort when sorting #includes. 9 years ago
  Daniel Jasper a45fac502a clang-format: Only consider the first #include that looks right to be 9 years ago
  Daniel Jasper 54d63ca343 clang-format: Only try to find the "main" include in the first block of 9 years ago
  Daniel Jasper 74b162155a clang-format: Extend detection of the "main" #include to use the filename 9 years ago
  Daniel Jasper 0df6ca8485 clang-format: Extend header sort category implementation. 9 years ago
  Daniel Jasper dd5d054c2c clang-format: Make moving of the Cursor work properly when sorting #includes. 9 years ago
  Daniel Jasper a49b2123bc clang-format: Make sorting includes respect // clang-format off 9 years ago
  Daniel Jasper d27c92ca6f clang-format: Enable #include sorting by default. 9 years ago
  Nico Weber f92e9f7794 clang-format: Teach --sort-includes to interleave #include and #import. 9 years ago
  Nico Weber e930baa03c clang-format: Extend main header include sorting heuristic to Objective-C files. 9 years ago
  Daniel Jasper 8580b330e6 clang-format: Extend #include sorting functionality 10 years ago
  Daniel Jasper 30ddf33877 clang-format: Add initial #include sorting capabilities. 10 years ago