[llvm] r245002 - [PM/AA] Remove the function names and class names from doxygen comments

Chandler Carruth via llvm-commits llvm-commits at lists.llvm.org
Thu Aug 13 18:43:46 PDT 2015


Author: chandlerc
Date: Thu Aug 13 20:43:46 2015
New Revision: 245002

URL: http://llvm.org/viewvc/llvm-project?rev=245002&view=rev
Log:
[PM/AA] Remove the function names and class names from doxygen comments
and generally clean up their formatting.

Modified:
    llvm/trunk/include/llvm/Analysis/LibCallAliasAnalysis.h
    llvm/trunk/lib/Analysis/LibCallAliasAnalysis.cpp

Modified: llvm/trunk/include/llvm/Analysis/LibCallAliasAnalysis.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Analysis/LibCallAliasAnalysis.h?rev=245002&r1=245001&r2=245002&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Analysis/LibCallAliasAnalysis.h (original)
+++ llvm/trunk/include/llvm/Analysis/LibCallAliasAnalysis.h Thu Aug 13 20:43:46 2015
@@ -23,7 +23,7 @@ namespace llvm {
 class LibCallInfo;
 struct LibCallFunctionInfo;
 
-/// LibCallAliasAnalysis - Alias analysis driven from LibCallInfo.
+/// Alias analysis driven from LibCallInfo.
 struct LibCallAliasAnalysis : public FunctionPass, public AliasAnalysis {
   static char ID; // Class identification
 
@@ -52,10 +52,11 @@ struct LibCallAliasAnalysis : public Fun
 
   bool runOnFunction(Function &F) override;
 
-  /// getAdjustedAnalysisPointer - This method is used when a pass implements
-  /// an analysis interface through multiple inheritance.  If needed, it
-  /// should override this to adjust the this pointer as needed for the
-  /// specified pass info.
+  /// This method is used when a pass implements an analysis interface through
+  /// multiple inheritance.
+  ///
+  /// If needed, it should override this to adjust the this pointer as needed
+  /// for the specified pass info.
   void *getAdjustedAnalysisPointer(const void *PI) override {
     if (PI == &AliasAnalysis::ID)
       return (AliasAnalysis *)this;
@@ -68,10 +69,10 @@ private:
                                    const MemoryLocation &Loc);
 };
 
-/// createLibCallAliasAnalysisPass - Create an alias analysis pass that knows
-/// about the semantics of a set of libcalls specified by LCI.  The newly
-/// constructed pass takes ownership of the pointer that is provided.
+/// Create an alias analysis pass that knows about the semantics of a set of
+/// libcalls specified by LCI.
 ///
+/// The newly constructed pass takes ownership of the pointer that is provided.
 FunctionPass *createLibCallAliasAnalysisPass(LibCallInfo *LCI);
 
 } // End of llvm namespace

Modified: llvm/trunk/lib/Analysis/LibCallAliasAnalysis.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/LibCallAliasAnalysis.cpp?rev=245002&r1=245001&r2=245002&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/LibCallAliasAnalysis.cpp (original)
+++ llvm/trunk/lib/Analysis/LibCallAliasAnalysis.cpp Thu Aug 13 20:43:46 2015
@@ -17,7 +17,6 @@
 #include "llvm/Pass.h"
 using namespace llvm;
   
-// Register this pass...
 char LibCallAliasAnalysis::ID = 0;
 INITIALIZE_AG_PASS(LibCallAliasAnalysis, AliasAnalysis, "libcall-aa",
                    "LibCall Alias Analysis", false, true, false)
@@ -39,9 +38,9 @@ bool LibCallAliasAnalysis::runOnFunction
   return false;
 }
 
-/// AnalyzeLibCallDetails - Given a call to a function with the specified
-/// LibCallFunctionInfo, see if we can improve the mod/ref footprint of the call
-/// vs the specified pointer/size.
+/// Given a call to a function with the specified LibCallFunctionInfo, see if
+/// we can improve the mod/ref footprint of the call vs the specified
+/// pointer/size.
 ModRefInfo
 LibCallAliasAnalysis::AnalyzeLibCallDetails(const LibCallFunctionInfo *FI,
                                             ImmutableCallSite CS,
@@ -117,9 +116,8 @@ LibCallAliasAnalysis::AnalyzeLibCallDeta
   return MRInfo;
 }
 
-// getModRefInfo - Check to see if the specified callsite can clobber the
-// specified memory object.
-//
+/// Check to see if the specified callsite can clobber the specified memory
+/// object.
 ModRefInfo LibCallAliasAnalysis::getModRefInfo(ImmutableCallSite CS,
                                                const MemoryLocation &Loc) {
   ModRefInfo MRInfo = MRI_ModRef;




More information about the llvm-commits mailing list