[PATCH] clang: Replaced instances of CFG graph (redundant) with CFG
Jon Eyolfson
jon at eyl.io
Tue May 19 11:24:44 PDT 2015
On Tue, May 19, 2015 at 12:15:12PM -0600, Jonathan Roelofs wrote:
>
>
> On 5/19/15 11:40 AM, Jon Eyolfson wrote:
> >Hi all,
> >
> >This is my first (super trivial) patch, hopefully everything is formatted correctly.
>
> While you're here, get rid of the "BlockScopePosPair - " part of the
> comment. There's a slow migration going on to move away from that style.
>
>
> Cheers,
>
> Jon
Done.
Jon
>
> >
> >Thanks,
> >Jon
> >
> >
> >
> >_______________________________________________
> >cfe-commits mailing list
> >cfe-commits at cs.uiuc.edu
> >http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
> >
>
> --
> Jon Roelofs
> jonathan at codesourcery.com
> CodeSourcery / Mentor Embedded
-------------- next part --------------
diff --git a/lib/Analysis/CFG.cpp b/lib/Analysis/CFG.cpp
index 94fa1d9..2744c5f 100644
--- a/lib/Analysis/CFG.cpp
+++ b/lib/Analysis/CFG.cpp
@@ -203,9 +203,9 @@ int LocalScope::const_iterator::distance(LocalScope::const_iterator L) {
return D;
}
-/// BlockScopePosPair - Structure for specifying position in CFG during its
-/// build process. It consists of CFGBlock that specifies position in CFG graph
-/// and LocalScope::const_iterator that specifies position in LocalScope graph.
+/// Structure for specifying position in CFG during its build process. It
+/// consists of CFGBlock that specifies position in CFG and
+/// LocalScope::const_iterator that specifies position in LocalScope graph.
struct BlockScopePosPair {
BlockScopePosPair() : block(nullptr) {}
BlockScopePosPair(CFGBlock *b, LocalScope::const_iterator scopePos)
diff --git a/www/analyzer/checker_dev_manual.html b/www/analyzer/checker_dev_manual.html
index 9c7cd98..c2606f9 100644
--- a/www/analyzer/checker_dev_manual.html
+++ b/www/analyzer/checker_dev_manual.html
@@ -99,7 +99,7 @@ for developer guidelines and send your questions and proposals to
which consists of a <tt>ProgramPoint</tt> and a <tt>ProgramState</tt>.
<p>
<a href="http://clang.llvm.org/doxygen/classclang_1_1ProgramPoint.html">ProgramPoint</a>
- represents the corresponding location in the program (or the CFG graph).
+ represents the corresponding location in the program (or the CFG).
<tt>ProgramPoint</tt> is also used to record additional information on
when/how the state was added. For example, <tt>PostPurgeDeadSymbolsKind</tt>
kind means that the state is the result of purging dead symbols - the
More information about the cfe-commits
mailing list