aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Basic/SourceManager.cpp
diff options
context:
space:
mode:
authorNikita Popov <nikita.ppv@gmail.com>2020-10-22 22:40:06 +0200
committerNikita Popov <nikita.ppv@gmail.com>2020-10-22 22:40:06 +0200
commitc0e8c94373b4e97d2eecc53bb16d22e085b73948 (patch)
treeed507db3b382d8614f73313f6c7ca35838d4cb16 /clang/lib/Basic/SourceManager.cpp
parent1882568fcb08ed8af689f13826cc7e84c3c84e33 (diff)
downloadllvm-c0e8c94373b4e97d2eecc53bb16d22e085b73948.zip
llvm-c0e8c94373b4e97d2eecc53bb16d22e085b73948.tar.gz
llvm-c0e8c94373b4e97d2eecc53bb16d22e085b73948.tar.bz2
[DomTree] Make assert more precise
Per asbirlea's comment, assert that only instructions, constants and arguments are passed to this API. Simplify returning true would not be correct for special Value subclasses like MemoryAccess.
Diffstat (limited to 'clang/lib/Basic/SourceManager.cpp')
0 files changed, 0 insertions, 0 deletions