diff options
author | George Burgess IV <george.burgess.iv@gmail.com> | 2018-05-26 02:17:43 +0000 |
---|---|---|
committer | George Burgess IV <george.burgess.iv@gmail.com> | 2018-05-26 02:17:43 +0000 |
commit | e81681805ce413d8d3e88e24cd72bce4ddb90c70 (patch) | |
tree | 038931c89b88af7a78ca5102950123d87933b19f /llvm/lib/Analysis/CFLGraph.h | |
parent | 4add8a1f4e6762e480380bfa3403fa69a1483bd9 (diff) | |
download | bcm5719-llvm-e81681805ce413d8d3e88e24cd72bce4ddb90c70.tar.gz bcm5719-llvm-e81681805ce413d8d3e88e24cd72bce4ddb90c70.zip |
[CFLAA] Reflow comments; NFC
llvm-svn: 333330
Diffstat (limited to 'llvm/lib/Analysis/CFLGraph.h')
-rw-r--r-- | llvm/lib/Analysis/CFLGraph.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/llvm/lib/Analysis/CFLGraph.h b/llvm/lib/Analysis/CFLGraph.h index 357951bdf54..86812009da7 100644 --- a/llvm/lib/Analysis/CFLGraph.h +++ b/llvm/lib/Analysis/CFLGraph.h @@ -423,17 +423,15 @@ template <typename CFLAA> class CFLGraphBuilder { addNode(Inst); // Check if Inst is a call to a library function that - // allocates/deallocates - // on the heap. Those kinds of functions do not introduce any aliases. + // allocates/deallocates on the heap. Those kinds of functions do not + // introduce any aliases. // TODO: address other common library functions such as realloc(), - // strdup(), - // etc. + // strdup(), etc. if (isMallocOrCallocLikeFn(Inst, &TLI) || isFreeCall(Inst, &TLI)) return; // TODO: Add support for noalias args/all the other fun function - // attributes - // that we can tack on. + // attributes that we can tack on. SmallVector<Function *, 4> Targets; if (getPossibleTargets(CS, Targets)) if (tryInterproceduralAnalysis(CS, Targets)) |