Skip to content

Commit dbf20b8

Browse files
committed
TargetMachine: document unnamed bool argument
Its meaning was slightly mysterious without looking at subclasses. llvm-svn: 145705
1 parent f6f9f1d commit dbf20b8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

llvm/include/llvm/Target/TargetMachine.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ class TargetMachine {
249249
virtual bool addPassesToEmitFile(PassManagerBase &,
250250
formatted_raw_ostream &,
251251
CodeGenFileType,
252-
bool = true) {
252+
bool /*DisableVerify*/ = true) {
253253
return true;
254254
}
255255

@@ -261,7 +261,7 @@ class TargetMachine {
261261
///
262262
virtual bool addPassesToEmitMachineCode(PassManagerBase &,
263263
JITCodeEmitter &,
264-
bool = true) {
264+
bool /*DisableVerify*/ = true) {
265265
return true;
266266
}
267267

@@ -273,7 +273,7 @@ class TargetMachine {
273273
virtual bool addPassesToEmitMC(PassManagerBase &,
274274
MCContext *&,
275275
raw_ostream &,
276-
bool = true) {
276+
bool /*DisableVerify*/ = true) {
277277
return true;
278278
}
279279
};

0 commit comments

Comments
 (0)