diff --git a/clang/Sema/Sema.cpp b/clang/Sema/Sema.cpp index 76771d0d5c92..f783302d5587 100644 --- a/clang/Sema/Sema.cpp +++ b/clang/Sema/Sema.cpp @@ -30,8 +30,8 @@ Sema::Sema(Preprocessor &pp, ASTContext &ctxt, std::vector &prevInGroup) KnownFunctionIDs[ id_fprintf ] = &IT.get("fprintf"); KnownFunctionIDs[ id_sprintf ] = &IT.get("sprintf"); KnownFunctionIDs[ id_snprintf ] = &IT.get("snprintf"); - KnownFunctionIDs[ id_vsnprintf ] = &IT.get("vsnprintf"); KnownFunctionIDs[ id_asprintf ] = &IT.get("asprintf"); + KnownFunctionIDs[ id_vsnprintf ] = &IT.get("vsnprintf"); KnownFunctionIDs[ id_vasprintf ] = &IT.get("vasprintf"); KnownFunctionIDs[ id_vfprintf ] = &IT.get("vfprintf"); KnownFunctionIDs[ id_vsprintf ] = &IT.get("vsprintf"); diff --git a/clang/Sema/Sema.h b/clang/Sema/Sema.h index 3cf75328c85d..ecf30626961d 100644 --- a/clang/Sema/Sema.h +++ b/clang/Sema/Sema.h @@ -75,8 +75,8 @@ class Sema : public Action { id_fprintf, id_sprintf, id_snprintf, - id_vsnprintf, id_asprintf, + id_vsnprintf, id_vasprintf, id_vfprintf, id_vsprintf,