ymandel marked 2 inline comments as done.
ymandel added inline comments.
Comment at: clang/include/clang/Analysis/FlowSensitive/ControlFlowContext.h:38
+
+ // DEPRECATED. Use overload above.
static llvm::Expected build(const Decl *D, Stmt *S,
xazax.hun
xazax.hun added inline comments.
Comment at: clang/include/clang/Analysis/FlowSensitive/ControlFlowContext.h:38
+
+ // DEPRECATED. Use overload above.
static llvm::Expected build(const Decl *D, Stmt *S,
I think LLVM can use the `[[deprecated]]` attribute.
This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG692e03039d1e: [clang][dataflow] Add cache of
`ControlFlowContext`s for function decls. (authored by ymandel).
Repository:
rG LLVM Github Monorepo
ymandel updated this revision to Diff 449661.
ymandel added a comment.
comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131039/new/
https://reviews.llvm.org/D131039
Files:
clang/include/clang/Analysis/FlowSensitive/ControlFlowContext.h
ymandel added inline comments.
Comment at: clang/include/clang/Analysis/FlowSensitive/ControlFlowContext.h:34
+ /// Builds a ControlFlowContext from an AST node. `D` is the function in
which
+ /// `S` resides. All arguments must be non-null.
static llvm::Expected
ymandel updated this revision to Diff 449660.
ymandel added a comment.
tweaks.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131039/new/
https://reviews.llvm.org/D131039
Files:
clang/include/clang/Analysis/FlowSensitive/ControlFlowContext.h
ymandel updated this revision to Diff 449658.
ymandel marked 2 inline comments as done.
ymandel added a comment.
update.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131039/new/
https://reviews.llvm.org/D131039
Files:
sgatev accepted this revision.
sgatev added inline comments.
Comment at: clang/include/clang/Analysis/FlowSensitive/ControlFlowContext.h:34
+ /// Builds a ControlFlowContext from an AST node. `D` is the function in
which
+ /// `S` resides. All arguments must be non-null.
ymandel updated this revision to Diff 449649.
ymandel added a comment.
adusted interface to return (nullable) pointer rather than reference.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131039/new/
https://reviews.llvm.org/D131039
Files:
ymandel updated this revision to Diff 449648.
ymandel marked 4 inline comments as done.
ymandel added a comment.
addressed comments
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D131039/new/
https://reviews.llvm.org/D131039
Files:
ymandel marked 4 inline comments as done.
ymandel added inline comments.
Comment at: clang/include/clang/Analysis/FlowSensitive/ControlFlowContext.h:34
+ /// Builds a ControlFlowContext from an AST node. `D` is the function in
which
+ /// `S` resides. All arguments must be
samestep added a comment.
Looks awesome, thanks @ymandel!
Comment at: clang/include/clang/Analysis/FlowSensitive/DataflowAnalysis.h:23
#include "clang/AST/Stmt.h"
-#include "clang/Analysis/CFG.h"
#include "clang/Analysis/FlowSensitive/ControlFlowContext.h"
sgatev added inline comments.
Comment at: clang/include/clang/Analysis/FlowSensitive/ControlFlowContext.h:34
+ /// Builds a ControlFlowContext from an AST node. `D` is the function in
which
+ /// `S` resides. All arguments must be non-null.
static llvm::Expected
ymandel created this revision.
ymandel added reviewers: xazax.hun, samestep, sgatev, gribozavr.
Herald added subscribers: martong, tschuett, rnkovacs.
Herald added a reviewer: NoQ.
Herald added a project: All.
ymandel requested review of this revision.
Herald added a project: clang.
This patch
14 matches
Mail list logo