commit | ac3d6caa0f5c96c9d6003c243d61818b9c0a26c0 | [log] [tgz] |
---|---|---|
author | Michael Kruse <llvm-project@meinersbur.de> | Fri Aug 13 12:26:35 2021 -0500 |
committer | Copybara-Service <copybara-worker@google.com> | Fri Aug 13 10:50:44 2021 -0700 |
tree | da477a543eef2b2b016507d9ce1e81362e7484ef | |
parent | 6a37add8b41befff0d1a7a2c0ebc93e13ece2371 [diff] |
[Polly] Decompose object construction and detection algorithm. NFC. Avoid doing the detection work inside the constructor. In addition to polymorphism being unintuitive in constructors and other design problems such as if an exception is thrown, the ScopDetection class is usable without detection in the sense of "no Scop found" or "function skipped". GitOrigin-RevId: 0232c1d10dd79f5c8f9530d636655488eb3c9e7e