commit | d14003d99f3d59b62bb6ff5a1a5d691f47d2b824 | [log] [tgz] |
---|---|---|
author | Hamza Sood <hamza_sood@me.com> | Fri Jul 05 14:36:08 2019 +0000 |
committer | Hamza Sood <hamza_sood@me.com> | Fri Jul 05 14:36:08 2019 +0000 |
tree | e24533c45b4f9ee246776bb0ec684527fbb16649 | |
parent | c8499ae35ae16d51582eb463cc02cca293afbb61 [diff] [blame] |
NFC: Add an explicit return for safety and consistency This case implicitly falls-through, which is fine now as it's at the end of the function, but it seems like an accident waiting to happen. llvm-svn: 365210
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp index 43c962d..758737e 100644 --- a/clang/lib/CodeGen/CGDecl.cpp +++ b/clang/lib/CodeGen/CGDecl.cpp
@@ -153,6 +153,8 @@ if (Ty->isVariablyModifiedType()) EmitVariablyModifiedType(Ty); + + return; } } }