diff options
| -rw-r--r-- | clang/lib/CodeGen/CGDebugInfo.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDebugInfo.cpp b/clang/lib/CodeGen/CGDebugInfo.cpp index 1897627f932..3138d82fb8b 100644 --- a/clang/lib/CodeGen/CGDebugInfo.cpp +++ b/clang/lib/CodeGen/CGDebugInfo.cpp @@ -1464,7 +1464,7 @@ llvm::DIType CGDebugInfo::CreateType(const RecordType *Ty) { // declaration. The completeType, completeRequiredType, and completeClassData // callbacks will handle promoting the declaration to a definition. if (T || - // Under -flimit-debug-info: + // Under -fno-standalone-debug: (DebugKind <= CodeGenOptions::LimitedDebugInfo && // Emit only a forward declaration unless the type is required. ((!RD->isCompleteDefinitionRequired() && CGM.getLangOpts().CPlusPlus) || |

