summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--clang/include/clang/CodeGen/CGFunctionInfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/include/clang/CodeGen/CGFunctionInfo.h b/clang/include/clang/CodeGen/CGFunctionInfo.h
index b532c794b6d..a7f3bb976c8 100644
--- a/clang/include/clang/CodeGen/CGFunctionInfo.h
+++ b/clang/include/clang/CodeGen/CGFunctionInfo.h
@@ -507,6 +507,7 @@ public:
// Friending class TrailingObjects is apparently not good enough for MSVC,
// so these have to be public.
+ friend class TrailingObjects;
size_t numTrailingObjects(OverloadToken<ArgInfo>) const {
return NumArgs + 1;
}
OpenPOWER on IntegriCloud