[all-commits] [llvm/llvm-project] a3ebc4: [llvm-locstats][NFC] Support OOP concept
Djordje Todorovic via All-commits
all-commits at lists.llvm.org
Wed Jan 15 02:41:21 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: a3ebc40644d7e93841d1f8c8994f1f22023960ad
https://github.com/llvm/llvm-project/commit/a3ebc40644d7e93841d1f8c8994f1f22023960ad
Author: Djordje Todorovic <djordje.todorovic at rt-rk.com>
Date: 2020-01-15 (Wed, 15 Jan 2020)
Changed paths:
M llvm/docs/CommandGuide/llvm-locstats.rst
M llvm/utils/llvm-locstats/llvm-locstats.py
Log Message:
-----------
[llvm-locstats][NFC] Support OOP concept
Making these changes, the code becomes more robust and easier for
adding the new features.
-Introduce the LocationStats class representing the statistics
-Add the pretty_print() method in the LocationStats class
-Add additional '-' for the program options
-Add the verify_program_inputs() function
-Add the parse_locstats() function
-Rename 'results' => 'opts'
-Add more comments
Differential Revision: https://reviews.llvm.org/D71868
More information about the All-commits
mailing list