diff options
author | Nico Weber <nicolasweber@gmx.de> | 2016-03-02 19:28:54 +0000 |
---|---|---|
committer | Nico Weber <nicolasweber@gmx.de> | 2016-03-02 19:28:54 +0000 |
commit | cbbaeb13074400ead830be88143c31e7aac3c01c (patch) | |
tree | d55d8e042104532293a3a2d729f706fb0b318111 /clang/lib/CodeGen/CGDecl.cpp | |
parent | 65f9d9cd324fc12f8bf90fa67477e2ddd90803d6 (diff) | |
download | llvm-cbbaeb13074400ead830be88143c31e7aac3c01c.zip llvm-cbbaeb13074400ead830be88143c31e7aac3c01c.tar.gz llvm-cbbaeb13074400ead830be88143c31e7aac3c01c.tar.bz2 |
Serialize `#pragma detect_mismatch`.
This is like r262493, but for pragma detect_mismatch instead of pragma comment.
The two pragmas have similar behavior, so use the same approach for both.
llvm-svn: 262506
Diffstat (limited to 'clang/lib/CodeGen/CGDecl.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGDecl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp index f9a6b06..c218ca4 100644 --- a/clang/lib/CodeGen/CGDecl.cpp +++ b/clang/lib/CodeGen/CGDecl.cpp @@ -72,6 +72,7 @@ void CodeGenFunction::EmitDecl(const Decl &D) { case Decl::ObjCProperty: case Decl::ObjCCompatibleAlias: case Decl::PragmaComment: + case Decl::PragmaDetectMismatch: case Decl::AccessSpec: case Decl::LinkageSpec: case Decl::ObjCPropertyImpl: |