Lines Matching refs:StdVer

34 enum class StdVer { CXX98, CXX11, CXX14, CXX17, CXX20 };  enum
61 PrintedStmtCXXMatches(StdVer Standard, StringRef Code, const T &NodeMatch, in PrintedStmtCXXMatches()
66 case StdVer::CXX98: StdOpt = "-std=c++98"; break; in PrintedStmtCXXMatches()
67 case StdVer::CXX11: StdOpt = "-std=c++11"; break; in PrintedStmtCXXMatches()
68 case StdVer::CXX14: StdOpt = "-std=c++14"; break; in PrintedStmtCXXMatches()
69 case StdVer::CXX17: StdOpt = "-std=c++17"; break; in PrintedStmtCXXMatches()
70 case StdVer::CXX20: in PrintedStmtCXXMatches()
114 ASSERT_TRUE(PrintedStmtCXXMatches(StdVer::CXX98, in TEST()
144 ASSERT_TRUE(PrintedStmtCXXMatches(StdVer::CXX98, in TEST()
152 ASSERT_TRUE(PrintedStmtCXXMatches(StdVer::CXX11, in TEST()
165 PrintedStmtCXXMatches(StdVer::CXX20, in TEST()
182 StdVer::CXX98, in TEST()
195 ASSERT_TRUE(PrintedStmtCXXMatches(StdVer::CXX11, in TEST()
210 ASSERT_TRUE(PrintedStmtCXXMatches(StdVer::CXX11, in TEST()
218 ASSERT_TRUE(PrintedStmtCXXMatches(StdVer::CXX11, in TEST()
227 ASSERT_TRUE(PrintedStmtCXXMatches(StdVer::CXX14, in TEST()
236 PrintedStmtCXXMatches(StdVer::CXX20, in TEST()
257 StdVer::CXX11, CPPSource, memberExpr(anything()).bind("id"), "field", in TEST()
261 ASSERT_TRUE(PrintedStmtCXXMatches(StdVer::CXX11, in TEST()
289 ASSERT_TRUE(PrintedStmtCXXMatches(StdVer::CXX11, CPPSource, in TEST()
295 StdVer::CXX11, CPPSource, lambdaExpr(anything()).bind("id"), "[] {}", in TEST()
311 ASSERT_TRUE(PrintedStmtCXXMatches(StdVer::CXX14, Code, in TEST()
315 PrintedStmtCXXMatches(StdVer::CXX14, Code, returnStmt().bind("id"), in TEST()