diff options
| author | Douglas Gregor <dgregor@apple.com> | 2012-02-23 07:33:15 +0000 |
|---|---|---|
| committer | Douglas Gregor <dgregor@apple.com> | 2012-02-23 07:33:15 +0000 |
| commit | 1be329d8387fd4c41486309abf5f2a45b3d7fc82 (patch) | |
| tree | 7bed4abdf750b57db5b55d3b62ea0ebae36be67b /clang/lib/Lex | |
| parent | 64bfb2e88e6f4c90fc6b2d3f8046c4095d8c31e3 (diff) | |
| download | bcm5719-llvm-1be329d8387fd4c41486309abf5f2a45b3d7fc82.tar.gz bcm5719-llvm-1be329d8387fd4c41486309abf5f2a45b3d7fc82.zip | |
Provide the __is_trivially_assignable type trait, which provides
compiler support for the std::is_trivially_assignable library type
trait.
llvm-svn: 151240
Diffstat (limited to 'clang/lib/Lex')
| -rw-r--r-- | clang/lib/Lex/PPMacroExpansion.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/Lex/PPMacroExpansion.cpp b/clang/lib/Lex/PPMacroExpansion.cpp index a9993f97d4f..0e009964102 100644 --- a/clang/lib/Lex/PPMacroExpansion.cpp +++ b/clang/lib/Lex/PPMacroExpansion.cpp @@ -700,6 +700,7 @@ static bool HasFeature(const Preprocessor &PP, const IdentifierInfo *II) { != tok::identifier) .Case("is_polymorphic", LangOpts.CPlusPlus) .Case("is_trivial", LangOpts.CPlusPlus) + .Case("is_trivially_assignable", LangOpts.CPlusPlus) .Case("is_trivially_copyable", LangOpts.CPlusPlus) .Case("is_union", LangOpts.CPlusPlus) .Case("modules", LangOpts.Modules) |

