Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix header guard macros #3811

Merged
merged 1 commit into from
Sep 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions source/fuzz/fuzzer_pass_add_no_contraction_decorations.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef SOURCE_FUZZ_FUZZER_PASS_ADD_NO_CONTRACTION_DECORATIONS_
#define SOURCE_FUZZ_FUZZER_PASS_ADD_NO_CONTRACTION_DECORATIONS_
#ifndef SOURCE_FUZZ_FUZZER_PASS_ADD_NO_CONTRACTION_DECORATIONS_H_
#define SOURCE_FUZZ_FUZZER_PASS_ADD_NO_CONTRACTION_DECORATIONS_H_

#include "source/fuzz/fuzzer_pass.h"

Expand All @@ -36,4 +36,4 @@ class FuzzerPassAddNoContractionDecorations : public FuzzerPass {
} // namespace fuzz
} // namespace spvtools

#endif // SOURCE_FUZZ_FUZZER_PASS_ADD_NO_CONTRACTION_DECORATIONS_
#endif // SOURCE_FUZZ_FUZZER_PASS_ADD_NO_CONTRACTION_DECORATIONS_H_
6 changes: 3 additions & 3 deletions source/fuzz/fuzzer_pass_add_opphi_synonyms.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef SOURCE_FUZZ_FUZZER_PASS_ADD_OPPHI_SYNONYMS_
#define SOURCE_FUZZ_FUZZER_PASS_ADD_OPPHI_SYNONYMS_
#ifndef SOURCE_FUZZ_FUZZER_PASS_ADD_OPPHI_SYNONYMS_H_
#define SOURCE_FUZZ_FUZZER_PASS_ADD_OPPHI_SYNONYMS_H_

#include "source/fuzz/fuzzer_pass.h"

Expand Down Expand Up @@ -70,4 +70,4 @@ class FuzzerPassAddOpPhiSynonyms : public FuzzerPass {
} // namespace fuzz
} // namespace spvtools

#endif // SOURCE_FUZZ_FUZZER_PASS_ADD_OPPHI_SYNONYMS_
#endif // SOURCE_FUZZ_FUZZER_PASS_ADD_OPPHI_SYNONYMS_H_
6 changes: 3 additions & 3 deletions source/fuzz/fuzzer_pass_adjust_function_controls.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef SOURCE_FUZZ_FUZZER_PASS_ADJUST_FUNCTION_CONTROLS_
#define SOURCE_FUZZ_FUZZER_PASS_ADJUST_FUNCTION_CONTROLS_
#ifndef SOURCE_FUZZ_FUZZER_PASS_ADJUST_FUNCTION_CONTROLS_H_
#define SOURCE_FUZZ_FUZZER_PASS_ADJUST_FUNCTION_CONTROLS_H_

#include "source/fuzz/fuzzer_pass.h"

Expand All @@ -36,4 +36,4 @@ class FuzzerPassAdjustFunctionControls : public FuzzerPass {
} // namespace fuzz
} // namespace spvtools

#endif // SOURCE_FUZZ_FUZZER_PASS_ADJUST_FUNCTION_CONTROLS_
#endif // SOURCE_FUZZ_FUZZER_PASS_ADJUST_FUNCTION_CONTROLS_H_
6 changes: 3 additions & 3 deletions source/fuzz/fuzzer_pass_adjust_loop_controls.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef SOURCE_FUZZ_FUZZER_PASS_ADJUST_LOOP_CONTROLS_
#define SOURCE_FUZZ_FUZZER_PASS_ADJUST_LOOP_CONTROLS_
#ifndef SOURCE_FUZZ_FUZZER_PASS_ADJUST_LOOP_CONTROLS_H_
#define SOURCE_FUZZ_FUZZER_PASS_ADJUST_LOOP_CONTROLS_H_

#include "source/fuzz/fuzzer_pass.h"

Expand All @@ -36,4 +36,4 @@ class FuzzerPassAdjustLoopControls : public FuzzerPass {
} // namespace fuzz
} // namespace spvtools

#endif // SOURCE_FUZZ_FUZZER_PASS_ADJUST_LOOP_CONTROLS_
#endif // SOURCE_FUZZ_FUZZER_PASS_ADJUST_LOOP_CONTROLS_H_
6 changes: 3 additions & 3 deletions source/fuzz/fuzzer_pass_adjust_selection_controls.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef SOURCE_FUZZ_FUZZER_PASS_ADJUST_SELECTION_CONTROLS_
#define SOURCE_FUZZ_FUZZER_PASS_ADJUST_SELECTION_CONTROLS_
#ifndef SOURCE_FUZZ_FUZZER_PASS_ADJUST_SELECTION_CONTROLS_H_
#define SOURCE_FUZZ_FUZZER_PASS_ADJUST_SELECTION_CONTROLS_H_

#include "source/fuzz/fuzzer_pass.h"

Expand All @@ -36,4 +36,4 @@ class FuzzerPassAdjustSelectionControls : public FuzzerPass {
} // namespace fuzz
} // namespace spvtools

#endif // SOURCE_FUZZ_FUZZER_PASS_ADJUST_SELECTION_CONTROLS_
#endif // SOURCE_FUZZ_FUZZER_PASS_ADJUST_SELECTION_CONTROLS_H_
6 changes: 3 additions & 3 deletions source/fuzz/fuzzer_pass_apply_id_synonyms.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef SOURCE_FUZZ_FUZZER_PASS_APPLY_ID_SYNONYMS_
#define SOURCE_FUZZ_FUZZER_PASS_APPLY_ID_SYNONYMS_
#ifndef SOURCE_FUZZ_FUZZER_PASS_APPLY_ID_SYNONYMS_H_
#define SOURCE_FUZZ_FUZZER_PASS_APPLY_ID_SYNONYMS_H_

#include "source/fuzz/fuzzer_pass.h"
#include "source/opt/ir_context.h"
Expand Down Expand Up @@ -48,4 +48,4 @@ class FuzzerPassApplyIdSynonyms : public FuzzerPass {
} // namespace fuzz
} // namespace spvtools

#endif // SOURCE_FUZZ_FUZZER_PASS_APPLY_ID_SYNONYMS_
#endif // SOURCE_FUZZ_FUZZER_PASS_APPLY_ID_SYNONYMS_H_
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef SOURCE_FUZZ_FUZZER_PASS_INTERCHANGE_SIGNEDNESS_OF_INTEGER_OPERANDS_
#define SOURCE_FUZZ_FUZZER_PASS_INTERCHANGE_SIGNEDNESS_OF_INTEGER_OPERANDS_
#ifndef SOURCE_FUZZ_FUZZER_PASS_INTERCHANGE_SIGNEDNESS_OF_INTEGER_OPERANDS_H_
#define SOURCE_FUZZ_FUZZER_PASS_INTERCHANGE_SIGNEDNESS_OF_INTEGER_OPERANDS_H_

#include "source/fuzz/fuzzer_pass.h"

Expand Down Expand Up @@ -48,4 +48,4 @@ class FuzzerPassInterchangeSignednessOfIntegerOperands : public FuzzerPass {
} // namespace fuzz
} // namespace spvtools

#endif // SOURCE_FUZZ_FUZZER_PASS_INTERCHANGE_SIGNEDNESS_OF_INTEGER_OPERANDS_
#endif // SOURCE_FUZZ_FUZZER_PASS_INTERCHANGE_SIGNEDNESS_OF_INTEGER_OPERANDS_H_
6 changes: 3 additions & 3 deletions source/fuzz/fuzzer_pass_interchange_zero_like_constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef SOURCE_FUZZ_FUZZER_PASS_INTERCHANGE_ZERO_LIKE_CONSTANTS_
#define SOURCE_FUZZ_FUZZER_PASS_INTERCHANGE_ZERO_LIKE_CONSTANTS_
#ifndef SOURCE_FUZZ_FUZZER_PASS_INTERCHANGE_ZERO_LIKE_CONSTANTS_H_
#define SOURCE_FUZZ_FUZZER_PASS_INTERCHANGE_ZERO_LIKE_CONSTANTS_H_

#include "source/fuzz/fuzzer_pass.h"

Expand Down Expand Up @@ -50,4 +50,4 @@ class FuzzerPassInterchangeZeroLikeConstants : public FuzzerPass {

} // namespace fuzz
} // namespace spvtools
#endif // SOURCE_FUZZ_FUZZER_PASS_INTERCHANGE_ZERO_LIKE_CONSTANTS_
#endif // SOURCE_FUZZ_FUZZER_PASS_INTERCHANGE_ZERO_LIKE_CONSTANTS_H_
6 changes: 3 additions & 3 deletions source/fuzz/fuzzer_pass_obfuscate_constants.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef SOURCE_FUZZ_FUZZER_PASS_OBFUSCATE_CONSTANTS_
#define SOURCE_FUZZ_FUZZER_PASS_OBFUSCATE_CONSTANTS_
#ifndef SOURCE_FUZZ_FUZZER_PASS_OBFUSCATE_CONSTANTS_H_
#define SOURCE_FUZZ_FUZZER_PASS_OBFUSCATE_CONSTANTS_H_

#include <vector>

Expand Down Expand Up @@ -109,4 +109,4 @@ class FuzzerPassObfuscateConstants : public FuzzerPass {
} // namespace fuzz
} // namespace spvtools

#endif // SOURCE_FUZZ_FUZZER_PASS_OBFUSCATE_CONSTANTS_
#endif // SOURCE_FUZZ_FUZZER_PASS_OBFUSCATE_CONSTANTS_H_
6 changes: 3 additions & 3 deletions source/fuzz/fuzzer_pass_permute_blocks.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef SOURCE_FUZZ_FUZZER_PASS_PERMUTE_BLOCKS_
#define SOURCE_FUZZ_FUZZER_PASS_PERMUTE_BLOCKS_
#ifndef SOURCE_FUZZ_FUZZER_PASS_PERMUTE_BLOCKS_H_
#define SOURCE_FUZZ_FUZZER_PASS_PERMUTE_BLOCKS_H_

#include "source/fuzz/fuzzer_pass.h"

Expand All @@ -37,4 +37,4 @@ class FuzzerPassPermuteBlocks : public FuzzerPass {
} // namespace fuzz
} // namespace spvtools

#endif // SOURCE_FUZZ_FUZZER_PASS_PERMUTE_BLOCKS_
#endif // SOURCE_FUZZ_FUZZER_PASS_PERMUTE_BLOCKS_H_
6 changes: 3 additions & 3 deletions source/fuzz/fuzzer_pass_replace_irrelevant_ids.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef SOURCE_FUZZ_FUZZER_PASS_REPLACE_IRRELEVANT_IDS_
#define SOURCE_FUZZ_FUZZER_PASS_REPLACE_IRRELEVANT_IDS_
#ifndef SOURCE_FUZZ_FUZZER_PASS_REPLACE_IRRELEVANT_IDS_H_
#define SOURCE_FUZZ_FUZZER_PASS_REPLACE_IRRELEVANT_IDS_H_

#include "source/fuzz/fuzzer_pass.h"

Expand All @@ -36,4 +36,4 @@ class FuzzerPassReplaceIrrelevantIds : public FuzzerPass {
};
} // namespace fuzz
} // namespace spvtools
#endif // SOURCE_FUZZ_FUZZER_PASS_REPLACE_IRRELEVANT_IDS_
#endif // SOURCE_FUZZ_FUZZER_PASS_REPLACE_IRRELEVANT_IDS_H_
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef SOURCE_FUZZ_FUZZER_PASS_REPLACE_OPSELECTS_WITH_CONDITIONAL_BRANCHES_
#define SOURCE_FUZZ_FUZZER_PASS_REPLACE_OPSELECTS_WITH_CONDITIONAL_BRANCHES_
#ifndef SOURCE_FUZZ_FUZZER_PASS_REPLACE_OPSELECTS_WITH_CONDITIONAL_BRANCHES_H_
#define SOURCE_FUZZ_FUZZER_PASS_REPLACE_OPSELECTS_WITH_CONDITIONAL_BRANCHES_H_

#include "source/fuzz/fuzzer_pass.h"

Expand Down Expand Up @@ -50,4 +50,4 @@ class FuzzerPassReplaceOpSelectsWithConditionalBranches : public FuzzerPass {
} // namespace fuzz
} // namespace spvtools

#endif // SOURCE_FUZZ_FUZZER_PASS_REPLACE_OPSELECTS_WITH_CONDITIONAL_BRANCHES_
#endif // SOURCE_FUZZ_FUZZER_PASS_REPLACE_OPSELECTS_WITH_CONDITIONAL_BRANCHES_H_
6 changes: 3 additions & 3 deletions source/fuzz/fuzzer_pass_split_blocks.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.

#ifndef SOURCE_FUZZ_FUZZER_PASS_SPLIT_BLOCKS_
#define SOURCE_FUZZ_FUZZER_PASS_SPLIT_BLOCKS_
#ifndef SOURCE_FUZZ_FUZZER_PASS_SPLIT_BLOCKS_H_
#define SOURCE_FUZZ_FUZZER_PASS_SPLIT_BLOCKS_H_

#include "source/fuzz/fuzzer_pass.h"

Expand All @@ -37,4 +37,4 @@ class FuzzerPassSplitBlocks : public FuzzerPass {
} // namespace fuzz
} // namespace spvtools

#endif // SOURCE_FUZZ_FUZZER_PASS_SPLIT_BLOCKS_
#endif // SOURCE_FUZZ_FUZZER_PASS_SPLIT_BLOCKS_H_