[analyzer] Decouple NoteTag from its Factory
authorValeriy Savchenko <vsavchenko@apple.com>
Fri, 11 Jun 2021 13:14:29 +0000 (16:14 +0300)
committerValeriy Savchenko <vsavchenko@apple.com>
Tue, 15 Jun 2021 08:58:13 +0000 (11:58 +0300)
commiteadd54f2741f9dc7307512382a7c8fb49aa840d0
treeecee232b93d212d6ec36154a1335fbc41de32225
parentbeb5213a2ee56bbf554ccdd1908c48d10e244dab
[analyzer] Decouple NoteTag from its Factory

This allows us to create other types of tags that carry useful
bits of information alongside.

Differential Revision: https://reviews.llvm.org/D104135
clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
clang/include/clang/StaticAnalyzer/Core/PathSensitive/CheckerContext.h
clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
clang/lib/StaticAnalyzer/Core/CoreEngine.cpp