diff options
author | Fangrui Song <maskray@google.com> | 2018-10-12 17:41:12 +0000 |
---|---|---|
committer | Fangrui Song <maskray@google.com> | 2018-10-12 17:41:12 +0000 |
commit | 19b8fa5c5a401c2b466c09bb2de645bb6844bb6b (patch) | |
tree | 91f4233632131a250a0d06278582d4fbfd8d5c21 /llvm/lib/MC/MCDwarf2BTF.h | |
parent | 60422354509e189bb95c2af728a5313bc02b279c (diff) | |
download | bcm5719-llvm-19b8fa5c5a401c2b466c09bb2de645bb6844bb6b.tar.gz bcm5719-llvm-19b8fa5c5a401c2b466c09bb2de645bb6844bb6b.zip |
[BPF] Don't include linux/types.h and fix style
llvm-svn: 344381
Diffstat (limited to 'llvm/lib/MC/MCDwarf2BTF.h')
-rw-r--r-- | llvm/lib/MC/MCDwarf2BTF.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/llvm/lib/MC/MCDwarf2BTF.h b/llvm/lib/MC/MCDwarf2BTF.h index 22d1b7741a5..69983374a09 100644 --- a/llvm/lib/MC/MCDwarf2BTF.h +++ b/llvm/lib/MC/MCDwarf2BTF.h @@ -18,12 +18,13 @@ using FileContent = std::pair<std::string, std::vector<std::string>>; class MCDwarf2BTF { public: static void addFiles(MCObjectStreamer *MCOS, std::string &FileName, - std::vector<FileContent> &Files); - static void addLines(MCObjectStreamer *MCOS, StringRef &SectionName, - std::vector<FileContent> &Files, - const MCLineSection::MCDwarfLineEntryCollection &LineEntries); + std::vector<FileContent> &Files); + static void + addLines(MCObjectStreamer *MCOS, StringRef &SectionName, + std::vector<FileContent> &Files, + const MCLineSection::MCDwarfLineEntryCollection &LineEntries); static void addDwarfLineInfo(MCObjectStreamer *MCOS); }; -} +} // namespace llvm #endif |