reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/clang/unittests/Format/FormatTest.cpp
14280       FS.addFile("/a/.clang-format", 0,
14283       FS.addFile("/a/test.cpp", 0, llvm::MemoryBuffer::getMemBuffer("int i;")));
14284   auto Style1 = getStyle("file", "/a/.clang-format", "Google", "", &FS);
14290       FS.addFile("/b/test.cpp", 0, llvm::MemoryBuffer::getMemBuffer("int i;")));
14291   auto Style2 = getStyle("file", "/b/test.cpp", "Mozilla", "", &FS);
14296   Style2 = getStyle("file", "/b/test.cpp", "none", "", &FS);
14302   ASSERT_TRUE(FS.addFile("/b/.clang-format", 0,
14304   Style2 = getStyle("file", "/b/test.cpp", "none", "", &FS);
14309   Style2 = getStyle("{}", "a.h", "none", "", &FS);
14315       FS.addFile("/c/.clang-format", 0,
14317   ASSERT_TRUE(FS.addFile("/c/sub/sub/sub/test.cpp", 0,
14319   auto Style3 = getStyle("file", "/c/sub/sub/sub/test.cpp", "LLVM", "", &FS);
14324   auto Style4 = getStyle("file", "a.h", "KungFu", "", &FS);
14329   auto Style5 = getStyle("{invalid_key=invalid_value}", "a.h", "LLVM", "", &FS);
14334   auto Style6 = getStyle("KungFu", "a.h", "LLVM", "", &FS);
14340       FS.addFile("/d/.clang-format", 0,
14344       FS.addFile("/d/test.cpp", 0, llvm::MemoryBuffer::getMemBuffer("int i;")));
14345   auto Style7 = getStyle("file", "/d/.clang-format", "LLVM", "", &FS);
14350   auto StyleTd = getStyle("file", "x.td", "llvm", "", &FS);