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

Declarations

tools/clang/include/clang/Basic/SourceManager.h
  232     static const char *getInvalidBOM(StringRef BufStr);

References

tools/clang/lib/Basic/SourceManager.cpp
  216   const char *InvalidBOM = getInvalidBOM(BufStr);
tools/clang/tools/clang-format/ClangFormat.cpp
  390   const char *InvalidBOM = SrcMgr::ContentCache::getInvalidBOM(BufStr);
tools/clang/unittests/Basic/SourceManagerTest.cpp
  204   ASSERT_EQ(SrcMgr::ContentCache::getInvalidBOM(""), nullptr);
  205   ASSERT_EQ(SrcMgr::ContentCache::getInvalidBOM("\x00\x00\x00"), nullptr);
  206   ASSERT_EQ(SrcMgr::ContentCache::getInvalidBOM("\xFF\xFF\xFF"), nullptr);
  207   ASSERT_EQ(SrcMgr::ContentCache::getInvalidBOM("#include <iostream>"),
  210   ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM(
  213   ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM(
  216   ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM(
  219   ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM(
  222   ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM(
  225   ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM(
  228   ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM(
  231   ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM(
  234   ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM(
  238   ASSERT_EQ(StringRef(SrcMgr::ContentCache::getInvalidBOM(