summaryrefslogtreecommitdiff
path: root/.clang-format
diff options
context:
space:
mode:
authorAaron Ballman <aaron@aaronballman.com>2019-09-19 13:51:50 +0000
committerAaron Ballman <aaron@aaronballman.com>2019-09-19 13:51:50 +0000
commit666dcfbdf06778b020d0ba1e51aa2fb03fa66ccc (patch)
treee5806acb12bf29e49d6e5072b8066c22f7ff9c4a /.clang-format
parentf15b9461daa267969fde37ec43ba55971d371cc0 (diff)
downloadclang-666dcfbdf06778b020d0ba1e51aa2fb03fa66ccc.tar.gz
Remove an unsafe member variable that wasn't needed; NFC.
People use the AST dumping interface while debugging, so it's not safe to assume that a declaration will be dumped before a constant expression is dumped. This means the Context member may not get set properly and problems would happen. Rather than rely on the interface that requires the ASTContext, call the generic dump() interface instead; this allows us to remove the Context member variable. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372323 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions