Home
last modified time | relevance | path

Searched refs:LikelyIdentifier (Results 1 – 4 of 4) sorted by relevance

/external/llvm-project/clang-tools-extra/clangd/unittests/
DSourceCodeTests.cpp384 TEST_F(SpelledWordsTest, LikelyIdentifier) { in TEST_F() argument
385 EXPECT_FALSE(word("// ^foo ").LikelyIdentifier); in TEST_F()
386 EXPECT_TRUE(word("// [[^foo_bar]] ").LikelyIdentifier); in TEST_F()
387 EXPECT_TRUE(word("// [[^fooBar]] ").LikelyIdentifier); in TEST_F()
388 EXPECT_FALSE(word("// H^TTP ").LikelyIdentifier); in TEST_F()
389 EXPECT_TRUE(word("// \\p [[^foo]] ").LikelyIdentifier); in TEST_F()
390 EXPECT_TRUE(word("// @param[in] [[^foo]] ").LikelyIdentifier); in TEST_F()
391 EXPECT_TRUE(word("// `[[f^oo]]` ").LikelyIdentifier); in TEST_F()
392 EXPECT_TRUE(word("// bar::[[f^oo]] ").LikelyIdentifier); in TEST_F()
393 EXPECT_TRUE(word("// [[f^oo]]::bar ").LikelyIdentifier); in TEST_F()
/external/llvm-project/clang-tools-extra/clangd/
DSourceCode.h235 bool LikelyIdentifier = false; member
DSourceCode.cpp930 Result.LikelyIdentifier = tok::isAnyIdentifier(T.kind()); in touching()
958 Result.LikelyIdentifier = in touching()
DXRefs.cpp460 !Word.LikelyIdentifier || !Index) in locateSymbolTextually()