[pytorch] fix tools/code_analyzer for llvm 11 (#60322)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/60322
Test Plan: Imported from OSS
Reviewed By: iseeyuan
Differential Revision: D29250420
Pulled By: ljk53
fbshipit-source-id: ff7f9cbacd1d9518ed81c06fc843a90d6948f760