[PATCH] D96738: [docs] Fix doxygen comments wrongly attached to the clang namespace
Nico Weber via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Apr 20 10:50:29 PDT 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rGb0322a4ed2b2: [docs] Fix doxygen comments wrongly attached to the clang namespace (authored by nicolas17, committed by thakis).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D96738/new/
https://reviews.llvm.org/D96738
Files:
clang/include/clang/AST/ExternalASTSource.h
clang/include/clang/Analysis/FlowSensitive/DataflowValues.h
clang/include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h
clang/include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h
Index: clang/include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h
===================================================================
--- clang/include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h
+++ clang/include/clang/StaticAnalyzer/Core/PathSensitive/LoopWidening.h
@@ -5,7 +5,7 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
-///
+/// \file
/// This header contains the declarations of functions which are used to widen
/// loops which do not otherwise exit. The widening is done by invalidating
/// anything which might be modified by the body of the loop.
Index: clang/include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h
===================================================================
--- clang/include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h
+++ clang/include/clang/StaticAnalyzer/Core/PathSensitive/LoopUnrolling.h
@@ -5,7 +5,7 @@
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
//
//===----------------------------------------------------------------------===//
-///
+/// \file
/// This header contains the declarations of functions which are used to decide
/// which loops should be completely unrolled and mark their corresponding
/// CFGBlocks. It is done by tracking a stack of loops in the ProgramState. This
@@ -18,7 +18,6 @@
/// has to be initialized by a literal in the corresponding initStmt.
/// - Does not contain goto, switch and returnStmt.
///
-///
//===----------------------------------------------------------------------===//
#ifndef LLVM_CLANG_STATICANALYZER_CORE_PATHSENSITIVE_LOOPUNROLLING_H
Index: clang/include/clang/Analysis/FlowSensitive/DataflowValues.h
===================================================================
--- clang/include/clang/Analysis/FlowSensitive/DataflowValues.h
+++ clang/include/clang/Analysis/FlowSensitive/DataflowValues.h
@@ -19,13 +19,14 @@
#include "clang/Analysis/ProgramPoint.h"
#include "llvm/ADT/DenseMap.h"
+namespace clang {
+
//===----------------------------------------------------------------------===//
/// Dataflow Directional Tag Classes. These are used for tag dispatching
/// within the dataflow solver/transfer functions to determine what direction
/// a dataflow analysis flows.
//===----------------------------------------------------------------------===//
-namespace clang {
namespace dataflow {
struct forward_analysis_tag {};
struct backward_analysis_tag {};
Index: clang/include/clang/AST/ExternalASTSource.h
===================================================================
--- clang/include/clang/AST/ExternalASTSource.h
+++ clang/include/clang/AST/ExternalASTSource.h
@@ -462,10 +462,10 @@
} // namespace clang
-/// Specialize PointerLikeTypeTraits to allow LazyGenerationalUpdatePtr to be
-/// placed into a PointerUnion.
namespace llvm {
+/// Specialize PointerLikeTypeTraits to allow LazyGenerationalUpdatePtr to be
+/// placed into a PointerUnion.
template<typename Owner, typename T,
void (clang::ExternalASTSource::*Update)(Owner)>
struct PointerLikeTypeTraits<
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D96738.338926.patch
Type: text/x-patch
Size: 3187 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210420/3fe40104/attachment-0001.bin>
More information about the cfe-commits
mailing list