Chromium Code Reviews| Index: src/IceClFlags.h |
| diff --git a/src/IceClFlags.h b/src/IceClFlags.h |
| index 19785bf562515c9e8e91fe7a04a8cccfb5bc5e10..8c43471b9096e4cf029223ed34d7f691ccba9cc6 100644 |
| --- a/src/IceClFlags.h |
| +++ b/src/IceClFlags.h |
| @@ -36,6 +36,20 @@ |
| #include <utility> |
| #include <vector> |
| +#ifndef PNACL_LLVM |
| +namespace llvm { |
| +// \brief Define the expected format of the file. |
| +enum NaClFileFormat { |
| + // LLVM IR source or bitcode file (as appropriate). |
| + LLVMFormat, |
| + // PNaCl bitcode file. |
| + PNaClFormat, |
| + // Autodetect if PNaCl or LLVM format. |
| + AutodetectFileFormat |
| +}; |
| +} // end of namespace llvm |
| +#endif // !PNACL_LLVM |
| + |
| namespace Ice { |
| // detail defines the type cl_type_traits, which is used to define the |
| // getters/setters for the ClFlags class. It converts the cl_detail::*_flag |