Skip to content

Commit e8a5d99

Browse files
authored
[NFC][SYCL] Initialize class member pointer to nullptr. (#10313)
1 parent 0d5acd4 commit e8a5d99

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/include/clang/Analysis/CallGraph.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class CallGraph : public RecursiveASTVisitor<CallGraph> {
5656
/// a constant expression's context. This DOES require the ASTContext object
5757
/// for constexpr-if, so setting it requires a valid ASTContext.
5858
bool ShouldSkipConstexpr = false;
59-
ASTContext *Ctx;
59+
ASTContext *Ctx = nullptr;
6060

6161
public:
6262
CallGraph();

0 commit comments

Comments
 (0)