pytorch/torch/csrc/jit/ir
Nikita Shulga 08e716fc70 [BE] Fix -Wextra-semi warning (#153887)
Introduced by https://github.com/pytorch/pytorch/pull/153645

Semicolon is not needed after closing curly bracket defining a class method.

Not sure why CI did not catch it, but my local builds are now erroring out with
```
[19/97] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/dead_code_elimination.cpp.o
In file included from /Users/nshulga/git/pytorch/pytorch/torch/csrc/jit/passes/dead_code_elimination.cpp:4:
/Users/nshulga/git/pytorch/pytorch/torch/csrc/jit/ir/alias_analysis.h:356:64: warning: extra ';' after member function definition [-Wextra-semi]
  356 |   ValueAndMemoryLocationSet(const AliasDb* db) : aliasDb_(db){};
      |                                                                ^
```

Fixes #ISSUE_NUMBER

Pull Request resolved: https://github.com/pytorch/pytorch/pull/153887
Approved by: https://github.com/wdvr, https://github.com/davidberard98
2025-05-19 22:25:03 +00:00
..
alias_analysis.cpp [JIT] Optimize DCE by storing a MemoryLocations for an entire set<Value*> (#153645) 2025-05-19 21:04:59 +00:00
alias_analysis.h [BE] Fix -Wextra-semi warning (#153887) 2025-05-19 22:25:03 +00:00
attributes.cpp
attributes.h
constants.cpp
constants.h
graph_node_list.h
graph_utils.cpp
graph_utils.h
ir_views.h
ir.cpp
ir.h
irparser.cpp
irparser.h
named_value.h
node_hashing.cpp
node_hashing.h
scope.cpp
scope.h
subgraph_matcher.cpp
subgraph_matcher.h
type_hashing.cpp
type_hashing.h