@@ -45,19 +45,19 @@ absl::optional<std::string> ValidateExtensionIdentifier(const Expr& expr) {
4545 absl::Overload (
4646 [](const SelectExpr& select_expr) -> absl::optional<std::string> {
4747 if (select_expr.test_only ()) {
48- return absl ::nullopt ;
48+ return std ::nullopt ;
4949 }
5050 auto op_name = ValidateExtensionIdentifier (select_expr.operand ());
5151 if (!op_name.has_value ()) {
52- return absl ::nullopt ;
52+ return std ::nullopt ;
5353 }
5454 return absl::StrCat (*op_name, " ." , select_expr.field ());
5555 },
5656 [](const IdentExpr& ident_expr) -> absl::optional<std::string> {
5757 return ident_expr.name ();
5858 },
5959 [](const auto &) -> absl::optional<std::string> {
60- return absl ::nullopt ;
60+ return std ::nullopt ;
6161 }),
6262 expr.kind ());
6363}
@@ -68,7 +68,7 @@ absl::optional<std::string> GetExtensionFieldName(const Expr& expr) {
6868 select_expr) {
6969 return ValidateExtensionIdentifier (expr);
7070 }
71- return absl ::nullopt ;
71+ return std ::nullopt ;
7272}
7373
7474bool IsExtensionCall (const Expr& target) {
@@ -95,7 +95,7 @@ std::vector<Macro> proto_macros() {
9595 [](MacroExprFactory& factory, Expr& target,
9696 absl::Span<Expr> arguments) -> absl::optional<Expr> {
9797 if (!IsExtensionCall (target)) {
98- return absl ::nullopt ;
98+ return std ::nullopt ;
9999 }
100100 auto extFieldName = GetExtensionFieldName (arguments[1 ]);
101101 if (!extFieldName.has_value ()) {
@@ -109,7 +109,7 @@ std::vector<Macro> proto_macros() {
109109 [](MacroExprFactory& factory, Expr& target,
110110 absl::Span<Expr> arguments) -> absl::optional<Expr> {
111111 if (!IsExtensionCall (target)) {
112- return absl ::nullopt ;
112+ return std ::nullopt ;
113113 }
114114 auto extFieldName = GetExtensionFieldName (arguments[1 ]);
115115 if (!extFieldName.has_value ()) {
0 commit comments