This is an archive of the discontinued LLVM Phabricator instance.

clang-format: remove tests that assume no config file will be found as this is not always the case
ClosedPublic

Authored by amaiorano on Jan 21 2017, 1:19 PM.

Details

Summary

These tests fail for developers who place their build directories under the
llvm root directory because llvm's own .clang-format file will be found.
Anyway these cases are covered by FormatStyle.GetStyleOfFile tests
(FormatTest.cpp).

Diff Detail

Repository
rL LLVM

Event Timeline

amaiorano created this revision.Jan 21 2017, 1:19 PM
ioeric accepted this revision.Jan 22 2017, 9:08 AM

Lgtm

This revision is now accepted and ready to land.Jan 22 2017, 9:08 AM

Great! This patch solves the problems we saw. Thanks!

This revision was automatically updated to reflect the committed changes.