[clang] 96e536e - [clang][NFC] Prefer usings over typedefs (#82920)
via cfe-commits
cfe-commits at lists.llvm.org
Mon Feb 26 05:08:21 PST 2024
Author: Balazs Benics
Date: 2024-02-26T14:08:16+01:00
New Revision: 96e536ecf5e6202089ee10ca81c38fbce70851d7
URL: https://github.com/llvm/llvm-project/commit/96e536ecf5e6202089ee10ca81c38fbce70851d7
DIFF: https://github.com/llvm/llvm-project/commit/96e536ecf5e6202089ee10ca81c38fbce70851d7.diff
LOG: [clang][NFC] Prefer usings over typedefs (#82920)
Added:
Modified:
clang/include/clang/Analysis/FlowSensitive/DataflowValues.h
Removed:
################################################################################
diff --git a/clang/include/clang/Analysis/FlowSensitive/DataflowValues.h b/clang/include/clang/Analysis/FlowSensitive/DataflowValues.h
index 2248bcdf3a512f..8e88f9c4d9c2df 100644
--- a/clang/include/clang/Analysis/FlowSensitive/DataflowValues.h
+++ b/clang/include/clang/Analysis/FlowSensitive/DataflowValues.h
@@ -45,12 +45,12 @@ class DataflowValues {
//===--------------------------------------------------------------------===//
public:
- typedef typename ValueTypes::ValTy ValTy;
- typedef typename ValueTypes::AnalysisDataTy AnalysisDataTy;
- typedef _AnalysisDirTag AnalysisDirTag;
- typedef llvm::DenseMap<ProgramPoint, ValTy> EdgeDataMapTy;
- typedef llvm::DenseMap<const CFGBlock*, ValTy> BlockDataMapTy;
- typedef llvm::DenseMap<const Stmt*, ValTy> StmtDataMapTy;
+ using ValTy = typename ValueTypes::ValTy;
+ using AnalysisDataTy = typename ValueTypes::AnalysisDataTy;
+ using AnalysisDirTag = _AnalysisDirTag;
+ using EdgeDataMapTy = llvm::DenseMap<ProgramPoint, ValTy>;
+ using BlockDataMapTy = llvm::DenseMap<const CFGBlock *, ValTy>;
+ using StmtDataMapTy = llvm::DenseMap<const Stmt *, ValTy>;
//===--------------------------------------------------------------------===//
// Predicates.
More information about the cfe-commits
mailing list