mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-09 11:25:55 +00:00
Fix grammar and doxygenify comments.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@12054 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -62,7 +62,6 @@ public:
|
|||||||
typedef std::reverse_iterator<aiterator> reverse_aiterator;
|
typedef std::reverse_iterator<aiterator> reverse_aiterator;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|
||||||
// Important things that make up a function!
|
// Important things that make up a function!
|
||||||
BasicBlockListType BasicBlocks; // The basic blocks
|
BasicBlockListType BasicBlocks; // The basic blocks
|
||||||
ArgumentListType ArgumentList; // The formal arguments
|
ArgumentListType ArgumentList; // The formal arguments
|
||||||
@@ -91,8 +90,8 @@ public:
|
|||||||
const Type *getReturnType() const; // Return the type of the ret val
|
const Type *getReturnType() const; // Return the type of the ret val
|
||||||
const FunctionType *getFunctionType() const; // Return the FunctionType for me
|
const FunctionType *getFunctionType() const; // Return the FunctionType for me
|
||||||
|
|
||||||
/// isExternal - Is the body of this function unknown? (the basic block list
|
/// isExternal - Is the body of this function unknown? (The basic block list
|
||||||
/// is empty if so) this is true for external functions, defined as forward
|
/// is empty if so.) This is true for external functions, defined as forward
|
||||||
/// "declare"ations
|
/// "declare"ations
|
||||||
///
|
///
|
||||||
virtual bool isExternal() const { return BasicBlocks.empty(); }
|
virtual bool isExternal() const { return BasicBlocks.empty(); }
|
||||||
@@ -109,6 +108,7 @@ public:
|
|||||||
|
|
||||||
/// deleteBody - This method deletes the body of the function, and converts
|
/// deleteBody - This method deletes the body of the function, and converts
|
||||||
/// the linkage to external.
|
/// the linkage to external.
|
||||||
|
///
|
||||||
void deleteBody() {
|
void deleteBody() {
|
||||||
dropAllReferences();
|
dropAllReferences();
|
||||||
setLinkage(ExternalLinkage);
|
setLinkage(ExternalLinkage);
|
||||||
@@ -197,8 +197,8 @@ public:
|
|||||||
|
|
||||||
/// viewCFGOnly - This function is meant for use from the debugger. It works
|
/// viewCFGOnly - This function is meant for use from the debugger. It works
|
||||||
/// just like viewCFG, but it does not include the contents of basic blocks
|
/// just like viewCFG, but it does not include the contents of basic blocks
|
||||||
/// into the nodes, just the label. If you are only interested in the CFG t
|
/// into the nodes, just the label. If you are only interested in the CFG
|
||||||
/// his can make the graph smaller.
|
/// this can make the graph smaller.
|
||||||
///
|
///
|
||||||
void viewCFGOnly() const;
|
void viewCFGOnly() const;
|
||||||
|
|
||||||
@@ -212,7 +212,7 @@ public:
|
|||||||
/// go" of all references that they are maintaining. This allows one to
|
/// go" of all references that they are maintaining. This allows one to
|
||||||
/// 'delete' a whole module at a time, even though there may be circular
|
/// 'delete' a whole module at a time, even though there may be circular
|
||||||
/// references... first all references are dropped, and all use counts go to
|
/// references... first all references are dropped, and all use counts go to
|
||||||
/// zero. Then everything is delete'd for real. Note that no operations are
|
/// zero. Then everything is deleted for real. Note that no operations are
|
||||||
/// valid on an object that has "dropped all references", except operator
|
/// valid on an object that has "dropped all references", except operator
|
||||||
/// delete.
|
/// delete.
|
||||||
///
|
///
|
||||||
|
Reference in New Issue
Block a user