projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Issue:
[oota-llvm.git]
/
include
/
llvm
/
LLVMContext.h
diff --git
a/include/llvm/LLVMContext.h
b/include/llvm/LLVMContext.h
index 47d2eaab03a95d4d8dbd6234928200ee0f866fff..5903e2e55e1f0120e80c43301677e4a96764159e 100644
(file)
--- a/
include/llvm/LLVMContext.h
+++ b/
include/llvm/LLVMContext.h
@@
-15,6
+15,8
@@
#ifndef LLVM_LLVMCONTEXT_H
#define LLVM_LLVMCONTEXT_H
#ifndef LLVM_LLVMCONTEXT_H
#define LLVM_LLVMCONTEXT_H
+#include "llvm/Support/Compiler.h"
+
namespace llvm {
class LLVMContextImpl;
namespace llvm {
class LLVMContextImpl;
@@
-42,7
+44,9
@@
public:
MD_dbg = 0, // "dbg"
MD_tbaa = 1, // "tbaa"
MD_prof = 2, // "prof"
MD_dbg = 0, // "dbg"
MD_tbaa = 1, // "tbaa"
MD_prof = 2, // "prof"
- MD_fpaccuracy = 3 // "fpaccuracy"
+ MD_fpmath = 3, // "fpmath"
+ MD_range = 4, // "range"
+ MD_tbaa_struct = 5 // "tbaa.struct"
};
/// getMDKindID - Return a unique non-zero ID for the specified metadata kind.
};
/// getMDKindID - Return a unique non-zero ID for the specified metadata kind.
@@
-86,9
+90,8
@@
public:
void emitError(const Twine &ErrorStr);
private:
void emitError(const Twine &ErrorStr);
private:
- // DO NOT IMPLEMENT
- LLVMContext(LLVMContext&);
- void operator=(LLVMContext&);
+ LLVMContext(LLVMContext&) LLVM_DELETED_FUNCTION;
+ void operator=(LLVMContext&) LLVM_DELETED_FUNCTION;
/// addModule - Register a module as being instantiated in this context. If
/// the context is deleted, the module will be deleted as well.
/// addModule - Register a module as being instantiated in this context. If
/// the context is deleted, the module will be deleted as well.