[llvm] r274226 - Don't repeat names in comments. NFC.

Rafael Espindola via llvm-commits llvm-commits at lists.llvm.org
Thu Jun 30 05:44:53 PDT 2016


Author: rafael
Date: Thu Jun 30 07:44:52 2016
New Revision: 274226

URL: http://llvm.org/viewvc/llvm-project?rev=274226&view=rev
Log:
Don't repeat names in comments. NFC.

Modified:
    llvm/trunk/lib/Target/TargetMachine.cpp

Modified: llvm/trunk/lib/Target/TargetMachine.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/TargetMachine.cpp?rev=274226&r1=274225&r2=274226&view=diff
==============================================================================
--- llvm/trunk/lib/Target/TargetMachine.cpp (original)
+++ llvm/trunk/lib/Target/TargetMachine.cpp Thu Jun 30 07:44:52 2016
@@ -83,8 +83,8 @@ Reloc::Model TargetMachine::getRelocatio
   return CodeGenInfo->getRelocationModel();
 }
 
-/// getCodeModel - Returns the code model. The choices are small, kernel,
-/// medium, large, and target default.
+/// Returns the code model. The choices are small, kernel, medium, large, and
+/// target default.
 CodeModel::Model TargetMachine::getCodeModel() const {
   if (!CodeGenInfo)
     return CodeModel::Default;
@@ -181,8 +181,7 @@ TLSModel::Model TargetMachine::getTLSMod
   return Model;
 }
 
-/// getOptLevel - Returns the optimization level: None, Less,
-/// Default, or Aggressive.
+/// Returns the optimization level: None, Less, Default, or Aggressive.
 CodeGenOpt::Level TargetMachine::getOptLevel() const {
   if (!CodeGenInfo)
     return CodeGenOpt::Default;




More information about the llvm-commits mailing list