[llvm] r333330 - [CFLAA] Reflow comments; NFC
George Burgess IV via llvm-commits
llvm-commits at lists.llvm.org
Fri May 25 19:17:43 PDT 2018
Author: gbiv
Date: Fri May 25 19:17:43 2018
New Revision: 333330
URL: http://llvm.org/viewvc/llvm-project?rev=333330&view=rev
Log:
[CFLAA] Reflow comments; NFC
Modified:
llvm/trunk/lib/Analysis/CFLGraph.h
Modified: llvm/trunk/lib/Analysis/CFLGraph.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/CFLGraph.h?rev=333330&r1=333329&r2=333330&view=diff
==============================================================================
--- llvm/trunk/lib/Analysis/CFLGraph.h (original)
+++ llvm/trunk/lib/Analysis/CFLGraph.h Fri May 25 19:17:43 2018
@@ -423,17 +423,15 @@ template <typename CFLAA> class CFLGraph
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))
More information about the llvm-commits
mailing list