diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-03-03 18:02:34 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-03-03 18:02:34 +0000 |
commit | 17388a61b270a21ee711cd51e003c17d2b3bdf29 (patch) | |
tree | 8266a71177053c8198869a5316c079498cea679b /llvm/lib/IR/Attributes.cpp | |
parent | 0b6eb591a4d6a7ce35d1a06ecf37637920715fce (diff) | |
download | bcm5719-llvm-17388a61b270a21ee711cd51e003c17d2b3bdf29.tar.gz bcm5719-llvm-17388a61b270a21ee711cd51e003c17d2b3bdf29.zip |
Revert "[C++11] Replace LLVM atomics with std::atomic."
Breaks the MSVC build.
DataStream.cpp(44): error C2552: 'llvm::Statistic::Value' : non-aggregates cannot be initialized with initializer list
llvm-svn: 202731
Diffstat (limited to 'llvm/lib/IR/Attributes.cpp')
-rw-r--r-- | llvm/lib/IR/Attributes.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/IR/Attributes.cpp b/llvm/lib/IR/Attributes.cpp index 24cd6c7c1a2..9d9d948527c 100644 --- a/llvm/lib/IR/Attributes.cpp +++ b/llvm/lib/IR/Attributes.cpp @@ -18,6 +18,7 @@ #include "LLVMContextImpl.h" #include "llvm/ADT/StringExtras.h" #include "llvm/IR/Type.h" +#include "llvm/Support/Atomic.h" #include "llvm/Support/Debug.h" #include "llvm/Support/ManagedStatic.h" #include "llvm/Support/Mutex.h" |