Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(597)

Side by Side Diff: src/IceClFlagsExtra.h

Issue 1217433002: Subzero: Enable errors for unused parameters. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 //===- subzero/src/IceClFlagsExtra.h - Extra Cl Flags -----------*- C++ -*-===// 1 //===- subzero/src/IceClFlagsExtra.h - Extra Cl Flags -----------*- C++ -*-===//
2 // 2 //
3 // The Subzero Code Generator 3 // The Subzero Code Generator
4 // 4 //
5 // This file is distributed under the University of Illinois Open Source 5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details. 6 // License. See LICENSE.TXT for details.
7 // 7 //
8 //===----------------------------------------------------------------------===// 8 //===----------------------------------------------------------------------===//
9 // 9 //
10 // This file declares command line flags primarily used for non-minimal builds. 10 // This file declares command line flags primarily used for non-minimal builds.
11 // 11 //
12 //===----------------------------------------------------------------------===// 12 //===----------------------------------------------------------------------===//
13 13
14 #ifndef SUBZERO_SRC_ICECLFLAGSEXTRA_H 14 #ifndef SUBZERO_SRC_ICECLFLAGSEXTRA_H
15 #define SUBZERO_SRC_ICECLFLAGSEXTRA_H 15 #define SUBZERO_SRC_ICECLFLAGSEXTRA_H
16 16
17 #include "IceDefs.h" 17 #include "IceDefs.h"
18
19 #pragma clang diagnostic push
20 #pragma clang diagnostic ignored "-Wunused-parameter"
18 #include "llvm/IRReader/IRReader.h" 21 #include "llvm/IRReader/IRReader.h"
22 #pragma clang diagnostic pop
19 23
20 namespace Ice { 24 namespace Ice {
21 25
22 class ClFlagsExtra { 26 class ClFlagsExtra {
23 ClFlagsExtra(const ClFlagsExtra &) = delete; 27 ClFlagsExtra(const ClFlagsExtra &) = delete;
24 ClFlagsExtra &operator=(const ClFlagsExtra &) = delete; 28 ClFlagsExtra &operator=(const ClFlagsExtra &) = delete;
25 29
26 public: 30 public:
27 ClFlagsExtra() = default; 31 ClFlagsExtra() = default;
28 32
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 71
68 IceString AppName = ""; 72 IceString AppName = "";
69 IceString IRFilename = ""; 73 IceString IRFilename = "";
70 IceString LogFilename = ""; 74 IceString LogFilename = "";
71 IceString OutputFilename = ""; 75 IceString OutputFilename = "";
72 }; 76 };
73 77
74 } // end of namespace Ice 78 } // end of namespace Ice
75 79
76 #endif // SUBZERO_SRC_ICECLFLAGSEXTRA_H 80 #endif // SUBZERO_SRC_ICECLFLAGSEXTRA_H
OLDNEW
« no previous file with comments | « src/IceClFlags.cpp ('k') | src/IceCompileServer.cpp » ('j') | unittest/IceParseInstsTest.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698