Lines Matching defs:Code
34 /// Note that CXXPattern trims C++ code, so the Code is already expected to be
46 /// Gets an instance of `CXXPredicateCode` for \p Code, or returns an already
49 std::string Code);
51 CXXPredicateCode(std::string Code, unsigned ID);
54 static const CXXPredicateCode &getMatchCode(std::string Code) {
55 return get(AllCXXMatchCode, std::move(Code));
58 static const CXXPredicateCode &getCustomActionCode(std::string Code) {
59 return get(AllCXXCustomActionCode, std::move(Code));
70 const std::string Code;
75 return !StringRef(Code).starts_with("return");