UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
PvsStudioCodeAnalysis.h
Go to the documentation of this file.
1// Copyright Epic Games, Inc. All Rights Reserved.
2
3#pragma once
4
5#if defined( PVS_STUDIO )
6
7 //PVS-Studio settings:
8 // v7.38 currently crashes using the new parser, use the old parser until resolved
9 //V_USE_OLD_PARSER
10
11 //-V::505,542,677,704,719,720,730,735,780,1002,1055,1062,1100
12 //-V:TRYCOMPRESSION:519,547
13 //-V:check(:501,547,560,605
14 //-V:checkSlow(:547
15 //-V:checkf(:510
16 //-V:checkfSlow(:547
17 //-V:dtAssert(:568
18 //-V:rcAssert(:568
19 //-V:GET_FUNCTION_NAME_CHECKED:521
20 //-V:ENABLE_TEXT_ERROR_CHECKING_RESULTS:560
21 //-V:ENABLE_LOC_TESTING:560,617
22 //-V:WITH_EDITOR:560
23 //-V:UE_LOG_ACTIVE:560
24 //-V:verify:501
25 //-V:UE_BUILD_SHIPPING:501
26 //-V:WITH_EDITOR:501
27 //-V:TestTrueExpr:501
28 //-V:PLATFORM_:517,547
29 //-V:ensureMsgf:562
30 //-V:SelectedEmitter:519
31 //-V:MAX_VERTS_PER_POLY:512
32 //-V:127:547
33 //-V:0x7F:547
34 //-V:WARN_COLOR:547
35 //-V:<<:614
36 //-V:OPENGL_PERFORMANCE_DATA_INVALID:564
37 //-V:SPAWN_INIT:595
38 //-V:BEGIN_UPDATE_LOOP:595
39 //-V:OPENGL_PERFORMANCE_DATA_INVALID:560
40 //-V:UE_CLOG(:501,560
41 //-V:UE_LOG(:501,510,560
42 //-V:UGL_REQUIRED_VOID:501
43 //-V:ensure(:595
44 //-V:ALLOCATE_VERTEX_DATA_TEMPLATE:501
45 //-V:UGL_REQUIRED:501
46 //-V:DEBUG_LOG_HTTP:523
47 //-V:GIsEditor:560
48 //-V:GEventDrivenLoaderEnabled:501
49 //-V:IMPLEMENT_AI_INSTANT_TEST:773
50 //-V:ENABLE_VERIFY_GL:564
51 //-V:INC_MEMORY_STAT_BY:568
52 //-V:DEC_MEMORY_STAT_BY:568
53 //-V:SELECT_STATIC_MESH_VERTEX_TYPE:622
54 //-V:GET_FUNCTION_NAME_CHECKED:685
55 //-V:This(:678
56 //-V:state->error:649
57 //-V:ProjModifiers:616
58 //-V:PERF_DETAILED_PER_CLASS_GC_STATS:686
59 //-V:FMath:656
60 //-V:->*:607
61 //-V:GENERATED_UCLASS_BODY:764
62 //-V:CalcSegmentCostOnPoly:764
63 //-V:DrawLine:764
64 //-V:vrapi_SubmitFrame:641
65 //-V:VertexData:773
66 //-V:Linker:678
67 //-V:self:678
68 //-V:FindChar:679
69 //-V:BytesToHex:530
70 //-V:FindOrAdd:530
71 //-V:GetPawn:623
72 //-V:FindComponentByClass:623
73 //-V:Response.Response:1051
74
75 // The following classes retain a reference to data supplied in the constructor by the derived class which can not yet be initialized.
76 //-V:FMemoryWriter(:1050
77 //-V:FObjectWriter(:1050
78 //-V:FDurationTimer(:1050
79 //-V:FScopedDurationTimer(:1050
80 //-V:FQueryFastData(:1050
81
82 // Exclude all generated protobuf files
83 //V_EXCLUDE_PATH *.pb.cc
84
85 // warning V630: Instantiation of TRingBuffer < FString >: The 'Malloc' function is used to allocate memory for an array of objects which are classes containing constructors and destructors.
86 //-V::630
87
88 // Disabling because incorrectly flagging all TStaticArrays
89 // V557: Array overrun is possible
90 //-V::557
91
92 // Disabling because too many virtuals currently in use in constructors/destructors, need to revist
93 // V1053: Calling the 'foo' virtual function in the constructor/destructor may lead to unexpected result at runtime.
94 //-V::1053
95
96#endif // #if defined( PVS_STUDIO )