mirror of
https://github.com/intel/llvm.git
synced 2026-02-03 19:18:13 +08:00
update comment.
llvm-svn: 198670
This commit is contained in:
@@ -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) ||
|
||||
|
||||
Reference in New Issue
Block a user