浏览代码

Fix -Winconsistent-missing-override in CodeGenAction.cpp

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288227 91177308-0d34-0410-b5e6-96231b3b80d8
Reid Kleckner 8 年之前
父节点
当前提交
03313c383f
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/CodeGen/CodeGenAction.cpp

+ 1 - 1
lib/CodeGen/CodeGenAction.cpp

@@ -152,7 +152,7 @@ namespace clang {
         LLVMIRGeneration.stopTimer();
     }
 
-    void HandleInterestingDecl(DeclGroupRef D) {
+    void HandleInterestingDecl(DeclGroupRef D) override {
       // Ignore interesting decls from the AST reader after IRGen is finished.
       if (!IRGenFinished)
         HandleTopLevelDecl(D);