Internal cleanup migrating StatusOr.

PiperOrigin-RevId: 330561315
Change-Id: Ie8d8857e7fa5819be3358b26425790ede97c99f8
This commit is contained in:
Sandboxed API Team 2020-09-08 12:23:59 -07:00 committed by Copybara-Service
parent fdf0483ca0
commit 776e34502a

View File

@ -68,7 +68,7 @@ std::string MapQualTypeParameter(const clang::ASTContext& context,
// Maps a qualified type used as a function return type to a type name // Maps a qualified type used as a function return type to a type name
// compatible with the generated Sandboxed API. Uses MapQualTypeParameter() and // compatible with the generated Sandboxed API. Uses MapQualTypeParameter() and
// wraps the type in a absl::StatusOr<> if qual is non-void. Otherwise returns // wraps the type in an absl::StatusOr<> if qual is non-void. Otherwise returns
// absl::Status. // absl::Status.
std::string MapQualTypeReturn(const clang::ASTContext& context, std::string MapQualTypeReturn(const clang::ASTContext& context,
clang::QualType qual); clang::QualType qual);