aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineScheduler.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2016-11-04 06:06:50 +0000
committerChandler Carruth <chandlerc@gmail.com>2016-11-04 06:06:50 +0000
commitede11636a510c9b919ebf37263396d7b142b3c20 (patch)
tree5513d988c1971adf82f3e4ef2b715acd1e3d0df6 /llvm/lib/CodeGen/MachineScheduler.cpp
parent08c8de215ca5609b8a6018a83bd8490b51268fd1 (diff)
downloadllvm-ede11636a510c9b919ebf37263396d7b142b3c20.zip
llvm-ede11636a510c9b919ebf37263396d7b142b3c20.tar.gz
llvm-ede11636a510c9b919ebf37263396d7b142b3c20.tar.bz2
Remove no-op checks for a null CodeCompleter. We have already
dereferenced the pointer at this point, and these routines are exclusively called after the parser encounters a code completion token. Other code completion routines called at that point do not check for null either, so this is clearly the current invariant expected in the code. This fixes another PVS-Studio found issue. llvm-svn: 285980
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions