Skip to content
Commit b4f02d89 authored by Sam McCall's avatar Sam McCall
Browse files

[AST] Make Expr::setDependence protected and remove add/removeDependence. NFC

Summary:
The expected pattern is for subclasses to initialize through
computeDependence, which needs only setDependence.
The few places that still use addDependence can be simulated with get+set.

Reviewers: hokein

Subscribers: cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D76392
parent 1db8b341
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment