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

Side by Side Diff: src/IceClFlagsExtra.h

Issue 1221643012: Subzero: Add -Wshadow to the build. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: Code review changes Created 5 years, 5 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 /// \file 10 /// \file
11 /// This file declares command line flags primarily used for non-minimal builds. 11 /// This file declares command line flags primarily used for non-minimal builds.
12 /// 12 ///
13 //===----------------------------------------------------------------------===// 13 //===----------------------------------------------------------------------===//
14 14
15 #ifndef SUBZERO_SRC_ICECLFLAGSEXTRA_H 15 #ifndef SUBZERO_SRC_ICECLFLAGSEXTRA_H
16 #define SUBZERO_SRC_ICECLFLAGSEXTRA_H 16 #define SUBZERO_SRC_ICECLFLAGSEXTRA_H
17 17
18 #include "IceDefs.h" 18 #include "IceDefs.h"
19 19
20 #pragma clang diagnostic push 20 #pragma clang diagnostic push
21 #pragma clang diagnostic ignored "-Wunused-parameter" 21 #pragma clang diagnostic ignored "-Wunused-parameter"
22 #pragma clang diagnostic ignored "-Wshadow"
22 #include "llvm/IRReader/IRReader.h" 23 #include "llvm/IRReader/IRReader.h"
23 #pragma clang diagnostic pop 24 #pragma clang diagnostic pop
24 25
25 namespace Ice { 26 namespace Ice {
26 27
27 class ClFlagsExtra { 28 class ClFlagsExtra {
28 ClFlagsExtra(const ClFlagsExtra &) = delete; 29 ClFlagsExtra(const ClFlagsExtra &) = delete;
29 ClFlagsExtra &operator=(const ClFlagsExtra &) = delete; 30 ClFlagsExtra &operator=(const ClFlagsExtra &) = delete;
30 31
31 public: 32 public:
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 73
73 IceString AppName = ""; 74 IceString AppName = "";
74 IceString IRFilename = ""; 75 IceString IRFilename = "";
75 IceString LogFilename = ""; 76 IceString LogFilename = "";
76 IceString OutputFilename = ""; 77 IceString OutputFilename = "";
77 }; 78 };
78 79
79 } // end of namespace Ice 80 } // end of namespace Ice
80 81
81 #endif // SUBZERO_SRC_ICECLFLAGSEXTRA_H 82 #endif // SUBZERO_SRC_ICECLFLAGSEXTRA_H
OLDNEW
« no previous file with comments | « src/IceClFlags.cpp ('k') | src/IceCompileServer.h » ('j') | src/IceConverter.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698