style fixes to code analyzer (#30808)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/30808
Addressed some comments on #29550 after it's landed.
Test Plan:
```
LLVM_DIR=... ANALYZE_TEST=1 CHECK_RESULT=1 tools/code_analyzer/build.sh
LLVM_DIR=... ANALYZE_TORCH=1 tools/code_analyzer/build.sh -closure=false -debug_path=true
```
Differential Revision: D18835100
Pulled By: ljk53
fbshipit-source-id: 991d292ddc0211a88b04d0bdc24719f471c7786e